Closed ANogin closed 2 years ago
The code has:
bool U=true; [...] if (helper::cmdOptionExists(argv, argv+argc,"-u")) { char* u=helper::getCmdOption(argv, argv+argc, "-u"); if(strcmp(u,"1")==0) U=true; }
which of course means that U is always true, regardless of the options specified.
Thanks for pointing it out. I resolved it.
The code has:
which of course means that U is always true, regardless of the options specified.