Declare unused parameters

When building with global CFLAGS=-Wunused-parameter the output from the
build looks terrible.  This commit explicitly declares unused variables
to prevent triggering -Wunused-parameter

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2025-07-02 14:29:52 +02:00
1 parent 5e2e273cad
commit ffd00f646c
10 files changed
+55

No files matched your search

+2
View File
@@ -293,6 +293,8 @@ static size_t print_timestamp(char *buf, size_t len)
sscanf(buf, "%f %f", &stamp, &dummy);
return snprintf(buf, len, "[ %.6f ]", stamp);
#else
(void)buf;
(void)len;
return 0;
#endif
}