svn commit: r286520 - projects/collation/lib/libc/locale

Baptiste Daroussin bapt at FreeBSD.org
Sun Aug 9 11:47:02 UTC 2015


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


More information about the svn-src-projects mailing list