diff options
author | Aaron <aaron@10gen.com> | 2010-03-24 09:49:25 -0700 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2010-03-24 09:49:25 -0700 |
commit | 0da2c646ab4e60126fd67bf3f5984f7f8bea335b (patch) | |
tree | 84d759f290602e1b92541dfd6bf7f6cd8be20199 | |
parent | b42d93b75ab6d179d3ebefbd4e5093514f5b8d72 (diff) | |
download | mongo-0da2c646ab4e60126fd67bf3f5984f7f8bea335b.tar.gz |
rm compile warning
-rw-r--r-- | db/pdfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/pdfile.cpp b/db/pdfile.cpp index c07e366d3f8..1c4608c5f24 100644 --- a/db/pdfile.cpp +++ b/db/pdfile.cpp @@ -1475,7 +1475,7 @@ namespace mongo { } catch( DBException& ) { // save our error msg string as an exception or dropIndexes will overwrite our message LastError *le = lastError.get(); - int savecode; + int savecode = 0; string saveerrmsg; if ( le ) { savecode = le->code; |