Eliminate a few harmless dead stores.

Quiets warnings from Infer.
This commit is contained in:
Todd C. Miller
2022-11-22 11:18:24 -07:00
parent 2f97da316e
commit f066ff9e01
13 changed files with 19 additions and 19 deletions

View File

@@ -787,10 +787,8 @@ sudoers_io_open(unsigned int version, sudo_conv_t conversation,
}
}
if (!sudoers_debug_register(plugin_path, &debug_files)) {
ret = -1;
if (!sudoers_debug_register(plugin_path, &debug_files))
goto done;
}
/* If we have no command (because -V was specified) just return. */
if (argc == 0)