mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 21:47:23 +00:00
Revert "[common] option: fix bounds check in the argument parser."
This reverts commit db78c8e468
.
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[])
|
bool option_parse(int argc, char * argv[])
|
||||||
{
|
{
|
||||||
if (argc < 1)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
for(int a = 1; a < argc; ++a)
|
for(int a = 1; a < argc; ++a)
|
||||||
{
|
{
|
||||||
struct Option * o = NULL;
|
struct Option * o = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user