factor: fix stray semicolon
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 17 Apr 2017 13:57:07 +0000 (15:57 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 17 Apr 2017 13:57:07 +0000 (15:57 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/factor.c

index 81841477535af8a13db3068a80ecf7a7c54e2273..205cdc0533fcbfb173c26b72a5d5ff6a78eded88 100644 (file)
@@ -201,7 +201,7 @@ int factor_main(int argc UNUSED_PARAM, char **argv)
                                if (!numstr[0])
                                        break;
                                end = skip_non_whitespace(numstr);
-                               if (*end != '\0');
+                               if (*end != '\0')
                                        *end++ = '\0';
                                factorize_numstr(numstr);
                                numstr = end;