diff options
author | Ruediger Meier | 2017-06-21 03:01:30 +0200 |
---|---|---|
committer | Ruediger Meier | 2017-06-22 02:56:57 +0200 |
commit | 0caad87fdb87789f40942e14f81539af84c2a55b (patch) | |
tree | d37e7606008f229fc930d9387f27c655e5253702 /text-utils | |
parent | uuidd: remove unused define (diff) | |
download | kernel-qcow2-util-linux-0caad87fdb87789f40942e14f81539af84c2a55b.tar.gz kernel-qcow2-util-linux-0caad87fdb87789f40942e14f81539af84c2a55b.tar.xz kernel-qcow2-util-linux-0caad87fdb87789f40942e14f81539af84c2a55b.zip |
misc: remove superfluous null pointer checks for optarg
This is only needed for optional arguments.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'text-utils')
-rw-r--r-- | text-utils/hexdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/hexdump.c b/text-utils/hexdump.c index 125734dfe..bf0631654 100644 --- a/text-utils/hexdump.c +++ b/text-utils/hexdump.c @@ -107,7 +107,7 @@ parse_args(int argc, char **argv, struct hexdump *hex) case 'f': addfile(optarg, hex); break; - case 'L': + case 'L': colormode = UL_COLORMODE_AUTO; if (optarg) colormode = colormode_or_err(optarg, |