Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
argparse: Fix argv index overrun when argc = 0
If argc is 0, the index returned by mm_arg_parse may be 1 while it should ave been 0. This is fixed ensuring that index is never bigger than argc. Change-Id: I0cfb7aa29eedc11506fb844234512702fdfdfec8
- Loading branch information