fix: --make without argument should not segfault
This commit is contained in:
parent
b418ab7624
commit
5e1fd62ae4
1 changed files with 3 additions and 1 deletions
|
|
@ -466,7 +466,9 @@ int main(int argc, char ** argv) {
|
|||
break;
|
||||
case 'm':
|
||||
make_mode = true;
|
||||
olean_fn = optarg;
|
||||
if (optarg) {
|
||||
olean_fn = optarg;
|
||||
}
|
||||
break;
|
||||
case 'M':
|
||||
opts = opts.update(get_max_memory_opt_name(), static_cast<unsigned>(atoi(optarg)));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue