mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Remove randomly scattered additional style check suppressions that caused unmatchedSuppression
This commit is contained in:
@@ -426,7 +426,6 @@ progress_cb(int p, int n, BN_GENCB *cb) {
|
||||
|
||||
UNUSED(n);
|
||||
|
||||
/* cppcheck-suppress unreadVariable */
|
||||
u.dptr = BN_GENCB_get_arg(cb);
|
||||
if (u.fptr != NULL)
|
||||
u.fptr(p);
|
||||
@@ -495,7 +494,6 @@ opensslrsa_generate(dst_key_t *key, int exp, void (*callback)(int)) {
|
||||
if (callback == NULL) {
|
||||
BN_GENCB_set_old(cb, NULL, NULL);
|
||||
} else {
|
||||
/* cppcheck-suppress unreadVariable */
|
||||
u.fptr = callback;
|
||||
BN_GENCB_set(cb, progress_cb, u.dptr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user