summaryrefslogtreecommitdiffstats
path: root/text-utils
diff options
context:
space:
mode:
authorRuediger Meier2017-06-21 03:01:30 +0200
committerRuediger Meier2017-06-22 02:56:57 +0200
commit0caad87fdb87789f40942e14f81539af84c2a55b (patch)
treed37e7606008f229fc930d9387f27c655e5253702 /text-utils
parentuuidd: remove unused define (diff)
downloadkernel-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.c2
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,