diff options
author | Tad Marshall <tad@10gen.com> | 2012-12-22 12:20:52 -0500 |
---|---|---|
committer | Tad Marshall <tad@10gen.com> | 2012-12-22 12:20:52 -0500 |
commit | f05814c2f7892f8b699dbdbc22741a53103ab1d1 (patch) | |
tree | 3b3c968442154d3d61691b451b3df62844d47f6b /src/mongo | |
parent | efbcdf7e972ae1e7d6691ec57869c8035a07b1d2 (diff) | |
download | mongo-f05814c2f7892f8b699dbdbc22741a53103ab1d1.tar.gz |
SERVER-7984 Fix unreferenced local variable warning
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/s/config_upgrade_v3_to_v4.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/config_upgrade_v3_to_v4.cpp b/src/mongo/s/config_upgrade_v3_to_v4.cpp index 0f523d8f4d7..d1101afb0ec 100644 --- a/src/mongo/s/config_upgrade_v3_to_v4.cpp +++ b/src/mongo/s/config_upgrade_v3_to_v4.cpp @@ -95,7 +95,7 @@ namespace mongo { return false; } } - catch (const DBException& e) { + catch (const DBException&) { *errMsg = stream() << "could not drop collections during cleanup of upgrade " << lastUpgradeId; |