Skip to content

Commit

Permalink
[utils]: Remove extra NULL option print
Browse files Browse the repository at this point in the history
Change-Id: I48871d7af4fae0fdf3e6e405793e53a5e4768801
Signed-off-by: Herman Chen <[email protected]>
  • Loading branch information
HermanChen committed Aug 30, 2021
1 parent 1263919 commit 264aca4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ void _show_options(int count, OptionInfo *options)
{
int i;
for (i = 0; i < count; i++) {
if (NULL == options[i].name)
continue;

mpp_log("-%s %-16s\t%s\n",
options[i].name, options[i].argname, options[i].help);
}
Expand Down

0 comments on commit 264aca4

Please sign in to comment.