Skip to content
Commit 76fb5229 authored by Johan Hedberg's avatar Johan Hedberg Committed by Johan Hedberg
Browse files

shell: Remove redundant checking for first parameter



The way the command line parsing works, argv[0] is always guaranteed
to be non-NULL as well as a non-empty string, so doing checks for this
in get_cb() is redundant.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 04fbb80a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment