|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56616 - trunk/libs/filesystem/src
From: bdawes_at_[hidden]
Date: 2009-10-06 08:32:47
Author: bemandawes
Date: 2009-10-06 08:32:46 EDT (Tue, 06 Oct 2009)
New Revision: 56616
URL: http://svn.boost.org/trac/boost/changeset/56616
Log:
Filesystem: fix #3509
Text files modified:
trunk/libs/filesystem/src/operations.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/filesystem/src/operations.cpp
==============================================================================
--- trunk/libs/filesystem/src/operations.cpp (original)
+++ trunk/libs/filesystem/src/operations.cpp 2009-10-06 08:32:46 EDT (Tue, 06 Oct 2009)
@@ -1282,7 +1282,7 @@
target = std::string( "." ); // string was static but caused trouble
// when iteration called from dtor, after
// static had already been destroyed
- std::size_t path_size;
+ std::size_t path_size (0); // initialization quiets gcc warning
error_code ec = path_max( path_size );
if ( ec ) return ec;
dirent de;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk