Minor fixes pointed out by cppcheck.
Also add compareBoolExpressionWithInt to suppression list.
This commit is contained in:
@@ -108,7 +108,7 @@ group_plugin_load(char *plugin_info)
|
||||
|
||||
if (SUDO_API_VERSION_GET_MAJOR(group_plugin->version) != GROUP_API_VERSION_MAJOR) {
|
||||
fprintf(stderr,
|
||||
"%s: incompatible group plugin major version %d, expected %d\n",
|
||||
"%s: incompatible group plugin major version %u, expected %d\n",
|
||||
path, SUDO_API_VERSION_GET_MAJOR(group_plugin->version),
|
||||
GROUP_API_VERSION_MAJOR);
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user