noip.c: Placate GCC warning about `misleading' layout.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 6 Jun 2018 18:42:30 +0000 (19:42 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 6 Jun 2018 18:43:24 +0000 (19:43 +0100)
I think I prefer the way it was, but I'll go with having a quiet life.

noip.c

diff --git a/noip.c b/noip.c
index 085b0be..b10f6bb 100644 (file)
--- 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;