mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 04:56:22 +00:00
Fixed compiler warnings
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
#include <cmocka.h>
|
#include <cmocka.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
@@ -131,7 +132,10 @@ _create_logs_dir(void)
|
|||||||
void
|
void
|
||||||
_cleanup_dirs(void)
|
_cleanup_dirs(void)
|
||||||
{
|
{
|
||||||
system("rm -rf ./stabbertests/files");
|
int res = system("rm -rf ./stabbertests/files");
|
||||||
|
if (res == -1) {
|
||||||
|
assert_true(FALSE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user