about summary refs log tree commit diff
path: root/locale
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-18 23:05:54 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-18 23:05:54 +0000
commit01da56ba764e6abc52bfe9a1feeb79d3d67346d1 (patch)
tree2b903adbebebb6e5d47d8c9d6338ce03d8103451 /locale
parent855778821b2c1c4c605c70d75ce55e33fc685a1d (diff)
downloadglibc-01da56ba764e6abc52bfe9a1feeb79d3d67346d1.tar.gz
glibc-01da56ba764e6abc52bfe9a1feeb79d3d67346d1.tar.xz
glibc-01da56ba764e6abc52bfe9a1feeb79d3d67346d1.zip
(_nl_init_era_entries): Remove a bit of unneeded code.
Diffstat (limited to 'locale')
-rw-r--r--locale/lc-time.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/locale/lc-time.c b/locale/lc-time.c
index 257e211093..04dff64532 100644
--- a/locale/lc-time.c
+++ b/locale/lc-time.c
@@ -69,11 +69,8 @@ _nl_init_era_entries (void)
 					      _NL_TIME_ERA_NUM_ENTRIES);
       if (new_num_eras == 0)
 	{
-	  if (eras != NULL)
-	    {
-	      free (eras);
-	      eras = NULL;
-	    }
+	  free (eras);
+	  eras = NULL;
 	}
       else
 	{