[utils]: Remove extra NULL option print

Change-Id: I48871d7af4fae0fdf3e6e405793e53a5e4768801
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2021-08-30 10:05:26 +08:00
parent 1263919d51
commit 264aca483e

View File

@@ -28,6 +28,9 @@ void _show_options(int count, OptionInfo *options)
{ {
int i; int i;
for (i = 0; i < count; i++) { for (i = 0; i < count; i++) {
if (NULL == options[i].name)
continue;
mpp_log("-%s %-16s\t%s\n", mpp_log("-%s %-16s\t%s\n",
options[i].name, options[i].argname, options[i].help); options[i].name, options[i].argname, options[i].help);
} }