summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--footobar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/footobar.c b/footobar.c
index f256b4b..4430c05 100644
--- a/footobar.c
+++ b/footobar.c
@@ -236,6 +236,7 @@ extern List *parse_var(char *extdef) {
first = last = NULL;
begin = strchr(extdef, '=');
+ assert(begin); /* guaranteed by initenv() */
while (*begin) {
++begin;
end = begin;