From: Guus Sliepen Date: Mon, 7 Jun 2021 15:28:59 +0000 (+0200) Subject: Fix a compiler warning if IP_MTU is not defined. X-Git-Url: http://git.meshlink.io/?p=meshlink;a=commitdiff_plain;h=9c2883e6ceb9ba9f635eafb797a560db4aa8f151 Fix a compiler warning if IP_MTU is not defined. --- diff --git a/src/pmtu.c b/src/pmtu.c index 36152cff..5f771cfc 100644 --- a/src/pmtu.c +++ b/src/pmtu.c @@ -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