]> www.tinc-vpn.org Git - tinc/blobdiff - src/sptps_keypair.c
Fix all warnings when compiling with -Wall -W -pedantic.
[tinc] / src / sptps_keypair.c
index 1bf2da012e0641a21fb9e96e8cf276501fad5bd8..51a94eeb458723483c38fd55263a790914177488 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);
 }