From 9ce25c33b03b7ff8ca8cd1cc52d8b7d24d125703 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 17 May 2015 23:10:30 +0100 Subject: [PATCH] Fixed compiler warnings --- stabbertests/proftest.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stabbertests/proftest.c b/stabbertests/proftest.c index d5fdeb0a..6c44a6ee 100644 --- a/stabbertests/proftest.c +++ b/stabbertests/proftest.c @@ -8,6 +8,7 @@ #include #include #include +#include #include "config.h" @@ -131,7 +132,10 @@ _create_logs_dir(void) void _cleanup_dirs(void) { - system("rm -rf ./stabbertests/files"); + int res = system("rm -rf ./stabbertests/files"); + if (res == -1) { + assert_true(FALSE); + } } void