summaryrefslogtreecommitdiff
path: root/rule.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2014-04-25 17:38:08 -0400
committerPaul Smith <psmith@gnu.org>2014-07-07 01:59:03 -0400
commit423c3955d97dc84986be08ed0074d8eb58c624ef (patch)
tree1a8e0f15f0dc8d22ed7c2472c87fc71ea1434e0c /rule.c
parentac67346d0fb5e5ea359d34c2c9215bd1892455f3 (diff)
downloadgunmake-423c3955d97dc84986be08ed0074d8eb58c624ef.tar.gz
* various: Assume ISO C89-compliant free() implementation.
Diffstat (limited to 'rule.c')
-rw-r--r--rule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/rule.c b/rule.c
index 986ada7..2535bd6 100644
--- a/rule.c
+++ b/rule.c
@@ -140,8 +140,7 @@ count_implicit_rule_limits (void)
rule = next;
}
- if (name != 0)
- free (name);
+ free (name);
}
/* Create a pattern rule from a suffix rule.