diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-03-19 06:43:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-03-19 06:43:34 +0000 |
commit | 72e6cdfa2cd95240439c72705ab28a2eebb7d04e (patch) | |
tree | ae830b7817948dc795cc92ec98216c478dde57e3 /time/tzset.c | |
parent | 354b75277bc86768eafbbf5f590deb27e0a71d89 (diff) | |
download | glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.gz glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.bz2 glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.zip |
Remove useless "if" before "free".
Diffstat (limited to 'time/tzset.c')
-rw-r--r-- | time/tzset.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/time/tzset.c b/time/tzset.c index 0d54202185..a6fed4abc1 100644 --- a/time/tzset.c +++ b/time/tzset.c @@ -414,8 +414,7 @@ tzset_internal (always, explicit) tz_rules[1].name = NULL; /* Save the value of `tz'. */ - if (old_tz != NULL) - free (old_tz); + free (old_tz); old_tz = tz ? __strdup (tz) : NULL; /* Try to read a data file. */ |