From 0afbbf8595b6035a5a930399d20320d2e2852d72 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 24 Sep 2009 02:41:44 +0000 Subject: - Rework secondary expansion so we only defer it if there's a possibility it might be needed: for most situations we parse prereqs immediately as we used to. Reduces memory usage. - Fixes Savannah bug #18622. --- expand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'expand.c') diff --git a/expand.c b/expand.c index b5d5338..6cdf4ea 100644 --- a/expand.c +++ b/expand.c @@ -407,8 +407,8 @@ variable_expand_string (char *line, const char *string, long length) if (*p == '\0') break; - else - ++p; + + ++p; } if (abuf) -- cgit v1.2.3