mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fixed compiler warnings
This commit is contained in:
parent
641eadd02f
commit
9ce25c33b0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user