From 9c2883e6ceb9ba9f635eafb797a560db4aa8f151 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 7 Jun 2021 17:28:59 +0200 Subject: [PATCH] Fix a compiler warning if IP_MTU is not defined. --- src/pmtu.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5