summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2018-10-12 13:38:00 -0400
committerJonathan Reams <jbreams@mongodb.com>2018-10-19 13:18:39 -0400
commitc533240e6ae84191863ae66293a8a37d2089dfc6 (patch)
treefa24d57f2466aaf60a90bc6482a5c2b8ad6ebd7e /src/mongo/db
parent8d187a612ec0c74827947504a472ac65823dfcff (diff)
downloadmongo-c533240e6ae84191863ae66293a8a37d2089dfc6.tar.gz
SERVER-37485 Ensure pointer is default-intialized to nullptr
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/auth/authorization_manager_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/auth/authorization_manager_impl.cpp b/src/mongo/db/auth/authorization_manager_impl.cpp
index c13e3594301..8c52a8895cc 100644
--- a/src/mongo/db/auth/authorization_manager_impl.cpp
+++ b/src/mongo/db/auth/authorization_manager_impl.cpp
@@ -214,7 +214,7 @@ private:
}
stdx::mutex _mutex;
std::vector<UserName> _userNames;
- AuthorizationManager* _authzManager;
+ AuthorizationManager* _authzManager = nullptr;
} authorizationManagerPinnedUsers;
const auto inUserManagementCommandsFlag = OperationContext::declareDecoration<bool>();