From 45c93dad1d5e6564c14ee51acb3cc3562d1c1fb9 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 12 Jul 2014 01:39:56 +0200 Subject: [PATCH] Fixed some "statement not reached" warnings --- src/tool_urlglob.c | 2 +- tests/unit/unit1395.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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