From 3b6667a4abedaa82ff7392380ffecbe478ed3a69 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 23 Dec 2006 09:48:04 +0000 Subject: * posix/wordexp.c: Remove some unnecessary tests. --- posix/wordexp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'posix') diff --git a/posix/wordexp.c b/posix/wordexp.c index adece95ef8..765d14d81f 100644 --- a/posix/wordexp.c +++ b/posix/wordexp.c @@ -1809,7 +1809,7 @@ envsubst: /* Substitute parameter */ break; - if (free_value && value) + if (free_value) free (value); if (!colon_seen && value) @@ -1827,7 +1827,7 @@ envsubst: case ACT_NONNULL_SUBST: if (value && (*value || !colon_seen)) { - if (free_value && value) + if (free_value) free (value); value = pattern ? __strdup (pattern) : pattern; -- cgit 1.4.1