summaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-04-25 21:02:43 +0100
committerThomas Adam <thomas@xteddy.org>2019-04-25 21:02:43 +0100
commit7c4a2253e89dd26018de489301e46d8425893a78 (patch)
tree50a72e4f59f1d27092b9e1c29fb0d0a1228cfe62 /cmd.c
parentf2c0605d6d7051898318703142af4ceb7e3f845f (diff)
parent2d65bbd94129c4542394a83151cb1a131c3c7871 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd.c b/cmd.c
index 82dcae3d..8d61a572 100644
--- a/cmd.c
+++ b/cmd.c
@@ -334,10 +334,6 @@ cmd_try_alias(int *argc, char ***argv)
a = options_array_first(o);
while (a != NULL) {
ov = options_array_item_value(a);
- if (ov == NULL) {
- a = options_array_next(a);
- continue;
- }
cp = strchr(ov->string, '=');
if (cp != NULL &&
(size_t)(cp - ov->string) == wanted &&