Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Aug 2015 11:47:02 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r286520 - projects/collation/lib/libc/locale
Message-ID:  <201508091147.t79Bl2ot095217@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Aug  9 11:47:01 2015
New Revision: 286520
URL: https://svnweb.freebsd.org/changeset/base/286520

Log:
  Remove useless variable

Modified:
  projects/collation/lib/libc/locale/collate.c

Modified: projects/collation/lib/libc/locale/collate.c
==============================================================================
--- projects/collation/lib/libc/locale/collate.c	Sun Aug  9 11:06:40 2015	(r286519)
+++ projects/collation/lib/libc/locale/collate.c	Sun Aug  9 11:47:01 2015	(r286520)
@@ -99,8 +99,8 @@ __collate_load(const char *encoding, __u
 int
 __collate_load_tables(const char *encoding)
 {
-	int ret = __collate_load_tables_l(encoding, &__xlocale_global_collate);
-	return ret;
+
+	return (__collate_load_tables_l(encoding, &__xlocale_global_collate));
 }
 
 int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508091147.t79Bl2ot095217>