Commit 233aebcb authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2445] do explicit check for NULL against a pointer

parent bedf7f9f
...@@ -256,7 +256,7 @@ main(int argc, char* argv[]) { ...@@ -256,7 +256,7 @@ main(int argc, char* argv[]) {
// If we haven't registered callback for data sources, this will be just // If we haven't registered callback for data sources, this will be just
// no-op. // no-op.
if (config_session) { if (config_session != NULL) {
config_session->removeRemoteConfig("data_sources"); config_session->removeRemoteConfig("data_sources");
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment