]> git.meshlink.io Git - meshlink/commitdiff
Fix a compiler warning if IP_MTU is not defined.
authorGuus Sliepen <guus@meshlink.io>
Mon, 7 Jun 2021 15:28:59 +0000 (17:28 +0200)
committerGuus Sliepen <guus@meshlink.io>
Fri, 8 Oct 2021 18:57:24 +0000 (20:57 +0200)
src/pmtu.c

index 36152cffec2af6d8d23a61f32d5a8fa7ffa202c9..5f771cfc7bdb3ef768c536e595381e7f01a214c2 100644 (file)
@@ -306,6 +306,7 @@ static uint16_t choose_initial_maxmtu(meshlink_handle_t *mesh, node_t *n) {
        return mtu;
 
 #else
+       (void)mesh;
        (void)n;
        return MTU;
 #endif