svn commit: r315097 - head/lib/libc/iconv

Pedro F. Giffuni pfg at FreeBSD.org
Sun Mar 12 03:29:24 UTC 2017


Author: pfg
Date: Sun Mar 12 03:29:23 2017
New Revision: 315097
URL: https://svnweb.freebsd.org/changeset/base/315097

Log:
  libc: small cleanups.
  
  Remove unused initialization: "num" is properly defined before use.
  
  Reviewed by:	ngie
  MFC after:	3 days

Modified:
  head/lib/libc/iconv/citrus_esdb.c

Modified: head/lib/libc/iconv/citrus_esdb.c
==============================================================================
--- head/lib/libc/iconv/citrus_esdb.c	Sun Mar 12 03:26:25 2017	(r315096)
+++ head/lib/libc/iconv/citrus_esdb.c	Sun Mar 12 03:29:23 2017	(r315097)
@@ -263,8 +263,6 @@ _citrus_esdb_get_list(char ***rlist, siz
 	size_t num;
 	int ret;
 
-	num = 0;
-
 	ret = _lookup_seq_open(&cla, _PATH_ESDB "/" ESDB_ALIAS,
 	    _LOOKUP_CASE_IGNORE);
 	if (ret)


More information about the svn-src-head mailing list