Fix all warnings when compiling with -Wall -W -pedantic.
[tinc] / src / sptps_keypair.c
index 1bf2da0..51a94ee 100644 (file)
 static char *program_name;
 
 void logger(int level, int priority, const char *format, ...) {
+       (void)level;
+       (void)priority;
        va_list ap;
+
        va_start(ap, format);
        vfprintf(stderr, format, ap);
        va_end(ap);
+
        fputc('\n', stderr);
 }