From: Dan Fandrich Date: Fri, 11 Jul 2014 23:39:56 +0000 (+0200) Subject: Fixed some "statement not reached" warnings X-Git-Tag: curl-7_37_1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45c93dad1d5e6564c14ee51acb3cc3562d1c1fb9;p=curl Fixed some "statement not reached" warnings --- diff --git a/src/tool_urlglob.c b/src/tool_urlglob.c index 6e4cdb07a..36e83c330 100644 --- a/src/tool_urlglob.c +++ b/src/tool_urlglob.c @@ -36,7 +36,7 @@ typedef enum { } GlobCode; #define GLOBERROR(string, column, code) \ - glob->error = string, glob->pos = column, code; + glob->error = string, glob->pos = column, code void glob_cleanup(URLGlob* glob); diff --git a/tests/unit/unit1395.c b/tests/unit/unit1395.c index bc3f36d44..6f9fc8c38 100644 --- a/tests/unit/unit1395.c +++ b/tests/unit/unit1395.c @@ -79,6 +79,6 @@ UNITTEST_START free(out); } - return fails; + fail_if(fails, "output mismatched"); UNITTEST_STOP