From c6569cc90f9557c622534594cc7e9a5f67193bd1 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 6 Jun 2018 19:42:30 +0100 Subject: [PATCH] noip.c: Placate GCC warning about `misleading' layout. I think I prefer the way it was, but I'll go with having a quiet life. --- noip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/noip.c b/noip.c index 085b0be..b10f6bb 100644 --- a/noip.c +++ b/noip.c @@ -1316,7 +1316,8 @@ static void parse_autoports(char **pp) SKIPSPC; NEXTNUMBER(q, del); x = strtoul(q, 0, 0); RESCAN(del); SKIPSPC; - if (*p != '-') goto bad; p++; + if (*p != '-') goto bad; + p++; NEXTNUMBER(q, del); y = strtoul(q, 0, 0); RESCAN(del); minautoport = x; maxautoport = y; SKIPSPC; if (*p) goto bad; -- 2.11.0