mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[2445] do explicit check for NULL against a pointer
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user