summaryrefslogtreecommitdiff
path: root/expand.c
diff options
context:
space:
mode:
Diffstat (limited to 'expand.c')
-rw-r--r--expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expand.c b/expand.c
index 1237da1..ae3d8e1 100644
--- a/expand.c
+++ b/expand.c
@@ -251,7 +251,7 @@ variable_expand (line)
p = savestring (subst_beg, subst_len);
p1 = savestring (replace_beg, replace_len);
o = patsubst_expand (o, value, p, p1,
- index (p, '%'), index (p1, '%'));
+ (char *) 0, (char *) 0);
free (p);
free (p1);
}