mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
address or suppress cppcheck warnings
This commit is contained in:
@@ -121,6 +121,7 @@ dns_ttl_totext(uint32_t src, bool verbose,
|
||||
* 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]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user