aboutsummaryrefslogtreecommitdiffstats
path: root/subst.c
diff options
context:
space:
mode:
Diffstat (limited to 'subst.c')
-rw-r--r--subst.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/subst.c b/subst.c
index 81a3256..89c4d7b 100644
--- a/subst.c
+++ b/subst.c
@@ -3137,6 +3137,7 @@ call_expand_word_internal (w, q, i, c, e)
last_command_exit_value = EXECUTION_FAILURE;
exp_jump_to_top_level ((result == &expand_word_error) ? DISCARD : FORCE_EOF);
/* NOTREACHED */
+ return (NULL);
}
else
return (result);