mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 11:22:04 -04:00
make expression logical for cppcheck
(cherry picked from commit f17b9b8dd1)
This commit is contained in:
parent
8251141baa
commit
4217930699
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ int main(int argc, char **argv)
|
|||
UNUSED(argc);
|
||||
UNUSED(argv);
|
||||
|
||||
target = target ? target + 1 : argv[0];
|
||||
target = (target != NULL) ? target + 1 : argv[0];
|
||||
if (strncmp(target, "lt-", 3) == 0) {
|
||||
target += 3;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue