summaryrefslogtreecommitdiff
path: root/rule.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2014-07-07 01:59:03 -0400
committerPaul Smith <psmith@gnu.org>2014-07-07 01:59:03 -0400
commit475d52f2c41761349963683ab61eea4eef7a4915 (patch)
tree1a8e0f15f0dc8d22ed7c2472c87fc71ea1434e0c /rule.c
parentbe009b9a889f4c58f69b4fb4bd8f5e98b9700555 (diff)
downloadmake-475d52f2c41761349963683ab61eea4eef7a4915.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 986ada74..2535bd6c 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.