2
0
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:
Ondřej Surý
2019-09-27 12:48:23 +02:00
parent d1f035bbba
commit a0d3614a60
8 changed files with 0 additions and 11 deletions

View File

@@ -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);
}