Skip to content

Commit 02415f8

Browse files
committed
Initialize variable for correctness per pull/24
1 parent faa1b95 commit 02415f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mongo/util/file_allocator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ namespace mongo {
270270
}
271271
while( 1 ) {
272272
string name;
273-
long size;
273+
long size = 0;
274274
{
275275
scoped_lock lk( fa->_pendingMutex );
276276
if ( fa->_pending.size() == 0 )

0 commit comments

Comments
 (0)