mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
lima: Print usage if --help is any of the arguments.
Fix defect reported by Coverity Scan. Structurally dead code (UNREACHABLE) unreachable: Since the loop increment n++; is unreachable, the loop body will never execute more than once. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6906>
This commit is contained in:
parent
2fb2749937
commit
9660427ab7
1 changed files with 0 additions and 2 deletions
|
|
@ -163,8 +163,6 @@ main(int argc, char **argv)
|
|||
print_usage();
|
||||
return 1;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
char *filename = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue