summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2013-10-23 17:07:43 -0400
committerAndy Schwerin <schwerin@10gen.com>2013-10-23 17:07:43 -0400
commit13962a0f8ebbaf0de9db9c10ed4da9aaf607f070 (patch)
treec32d03967f6efab590442d2b06c3bca5a863f06c
parent74cdecee315cacadb46d5fe170ce392fb32f3df1 (diff)
downloadmongo-13962a0f8ebbaf0de9db9c10ed4da9aaf607f070.tar.gz
SERVER-11275 Fix build for old GCCs.
-rw-r--r--src/mongo/db/auth/authz_manager_external_state_d.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_d.cpp b/src/mongo/db/auth/authz_manager_external_state_d.cpp
index f0853dd19a5..57f43cf3228 100644
--- a/src/mongo/db/auth/authz_manager_external_state_d.cpp
+++ b/src/mongo/db/auth/authz_manager_external_state_d.cpp
@@ -463,6 +463,9 @@ namespace {
else if (status.isOK()) {
newState = roleGraphStateConsistent;
}
+ else {
+ newState = roleGraphStateInitial;
+ }
if (status.isOK()) {
_roleGraph.swap(newRoleGraph);