summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/s/config_upgrade_v3_to_v4.cpp2
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;