diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2014-07-12 01:39:56 +0200 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2014-07-12 01:45:26 +0200 |
commit | 45c93dad1d5e6564c14ee51acb3cc3562d1c1fb9 (patch) | |
tree | f98936677a87dd75c8254e9f2f8e3e161b156470 | |
parent | efc71583e7b6abb8e3b9bf37b003c6115c39f9d6 (diff) |
Fixed some "statement not reached" warnings
-rw-r--r-- | src/tool_urlglob.c | 2 | ||||
-rw-r--r-- | 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 |