From: Mark Wooding Date: Wed, 6 Jun 2018 18:42:30 +0000 (+0100) Subject: noip.c: Placate GCC warning about `misleading' layout. X-Git-Tag: 1.2.0~32 X-Git-Url: https://git.distorted.org.uk/~mdw/preload-hacks/commitdiff_plain/c6569cc90f9557c622534594cc7e9a5f67193bd1 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. --- 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;