Browse Source

[2445] do explicit check for NULL against a pointer

JINMEI Tatuya 12 years ago
parent
commit
233aebcb70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/auth/main.cc

+ 1 - 1
src/bin/auth/main.cc

@@ -256,7 +256,7 @@ main(int argc, char* argv[]) {
 
     // If we haven't registered callback for data sources, this will be just
     // no-op.
-    if (config_session) {
+    if (config_session != NULL) {
         config_session->removeRemoteConfig("data_sources");
     }