mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-03-13 20:11:36 +00:00
Revert "[common] option: fix bounds check in the argument parser."
This reverts commit db78c8e46847bf5092ba0a42d2c44a64ddf7f1d3. I need some sleep, this was already fine as it was...
This commit is contained in:
parent
db78c8e468
commit
35bf30910b
@ -272,9 +272,6 @@ static bool option_set(struct Option * opt, const char * value)
|
||||
|
||||
bool option_parse(int argc, char * argv[])
|
||||
{
|
||||
if (argc < 1)
|
||||
return true;
|
||||
|
||||
for(int a = 1; a < argc; ++a)
|
||||
{
|
||||
struct Option * o = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user