REQUIRE(iteratorp != NULL);
REQUIRE(DNS_RDATASETITER_VALID(*iteratorp));
- /* cppcheck-suppress unreadVariable */
u.rdatasetiterator = *iteratorp;
*iteratorp = NULL;
UNUSED(n);
- /* cppcheck-suppress unreadVariable */
u.dptr = BN_GENCB_get_arg(cb);
if (u.fptr != NULL)
u.fptr(p);
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);
}
UNUSED(n);
- /* cppcheck-suppress unreadVariable */
u.dptr = BN_GENCB_get_arg(cb);
if (u.fptr != NULL)
u.fptr(p);
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);
}
isc_buffer_usedregion(&b, &r);
r.base[r.length] = 0;
if (result != ISC_R_SUCCESS) {
- /* cppcheck-suppress unreadVariable */
r.base[0] = 0;
}
}
isc_buffer_usedregion(&b, &r);
r.base[r.length] = 0;
if (result != ISC_R_SUCCESS) {
- /* cppcheck-suppress unreadVariable */
r.base[0] = 0;
}
}
* here because region.base is type unsigned char *.
*/
isc_buffer_usedregion(target, ®ion);
- /* cppcheck-suppress unreadVariable */
region.base[region.length - 1] =
toupper(region.base[region.length - 1]);
}
*/
isc_buffer_availableregion(target, &avail);
INSIST(avail.length >= 1);
- /* cppcheck-suppress unreadVariable */
avail.base[0] = '\0';
return (ISC_R_SUCCESS);
/* Preconditions (section 2.2.7 in NIST SP 800-22) */
assert_true(numbits >= 100);
- /* cppcheck-suppress constArgument */
assert_true(mbits >= 20);
assert_true((double) mbits > (0.01 * numbits));
assert_true(numblocks < 100);
return (ISC_R_SUCCESS);
}
#endif
- /* cppcheck-suppress duplicateCondition */
if (resource == isc_resource_openfiles && rlim_value == RLIM_INFINITY) {
if (getrlimit(unixresource, &rl) == 0) {
rl.rlim_cur = rl.rlim_max;