code format

This commit is contained in:
Dominik Maier 2020-04-13 16:57:41 +02:00
parent 326ab632c3
commit a897f355a9
4 changed files with 10 additions and 15 deletions

View File

@ -902,11 +902,7 @@ int main(int argc, char **argv, char **envp) {
if (mem_limit_given) FATAL("Multiple -m options not supported"); if (mem_limit_given) FATAL("Multiple -m options not supported");
mem_limit_given = 1; mem_limit_given = 1;
if (!optarg) { if (!optarg) { FATAL("Bad syntax used for -m"); }
FATAL("Bad syntax used for -m");
}
if (!strcmp(optarg, "none")) { if (!strcmp(optarg, "none")) {

View File

@ -720,7 +720,7 @@ u8 save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
#if !TARGET_OS_IPHONE #if !TARGET_OS_IPHONE
// we dont care if system errors, but we dont want a // we dont care if system errors, but we dont want a
// compiler warning either // compiler warning either
(void)(system(afl->infoexec)+1); (void)(system(afl->infoexec) + 1);
#else #else
WARNF("command execution unsupported"); WARNF("command execution unsupported");
#endif #endif

View File

@ -188,7 +188,6 @@ static u8 colorization(afl_state_t *afl, u8 *buf, u32 len, u32 exec_cksum) {
} }
return 0; return 0;
checksum_fail: checksum_fail: