tree-wide: assorted Coccinelle fixes

It's that time of year again.
This commit is contained in:
Frantisek Sumsal
2021-10-08 15:03:27 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent c17e8ce9ec
commit b98416e100
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -2540,7 +2540,7 @@ static int verb_log_level(int argc, char *argv[], void *userdata) {
sd_bus *bus = userdata;
assert(bus);
assert(argc == 1 || argc == 2);
assert(IN_SET(argc, 1, 2));
return verb_log_control_common(bus, "org.freedesktop.resolve1", argv[0], argc == 2 ? argv[1] : NULL);
}