Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Mar 2017 03:29:23 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315097 - head/lib/libc/iconv
Message-ID:  <201703120329.v2C3TNg5016755@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



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