From 46f562d0552458b4cf13a11dd342080f73852f09 Mon Sep 17 00:00:00 2001 From: tjg Date: Fri, 12 Oct 2001 09:28:21 +0000 Subject: add assertion --- footobar.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3