Suppress PVS Studio false positives.

This commit is contained in:
Todd C. Miller
2021-01-06 14:27:09 -07:00
parent 108e29446d
commit 4e11bc0e26
22 changed files with 473 additions and 517 deletions

View File

@@ -456,7 +456,7 @@ audit_write_exit_record(int exit_status, int error)
goto oom;
} else {
json_value.type = JSON_STRING;
json_value.u.string = signame;
json_value.u.string = signame; // -V507
if (!sudo_json_add_value(&json, "signal", &json_value))
goto oom;
}