Fix all warnings when compiling with -Wall -W -pedantic.
[tinc] / src / dummy_device.c
index 80232e1..15f0654 100644 (file)
@@ -37,10 +37,12 @@ static void close_device(void) {
 }
 
 static bool read_packet(vpn_packet_t *packet) {
+       (void)packet;
        return false;
 }
 
 static bool write_packet(vpn_packet_t *packet) {
+       (void)packet;
        return true;
 }