mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
silence some clang warnings
This commit is contained in:
@ -420,6 +420,8 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
if (mem_limit_given) FATAL("Multiple -m options not supported");
|
||||
mem_limit_given = 1;
|
||||
|
||||
if (!optarg) FATAL("Wrong usage of -m");
|
||||
|
||||
if (!strcmp(optarg, "none")) {
|
||||
|
||||
afl->fsrv.mem_limit = 0;
|
||||
|
Reference in New Issue
Block a user