Another round of sonarlint work

This commit is contained in:
Jasmine Iwanek
2023-06-28 13:46:28 -04:00
parent b750471e5c
commit 1116aadb6f
135 changed files with 2425 additions and 1355 deletions

View File

@@ -92,13 +92,13 @@ png_log(const char *fmt, ...)
#endif
static void
error_handler(png_structp arg, const char *str)
error_handler(UNUSED(png_structp arg), UNUSED(const char *str))
{
png_log("PNG: stream 0x%08lx error '%s'\n", arg, str);
}
static void
warning_handler(png_structp arg, const char *str)
warning_handler(UNUSED(png_structp arg), UNUSED(const char *str))
{
png_log("PNG: stream 0x%08lx warning '%s'\n", arg, str);
}