libc: small cleanups.

Remove unused initialization: "num" is properly defined before use.

Reviewed by:	ngie
MFC after:	3 days
This commit is contained in:
pfg 2017-03-12 03:29:23 +00:00
parent 026df5dbae
commit b981f4299a

View File

@ -263,8 +263,6 @@ _citrus_esdb_get_list(char ***rlist, size_t *rnum, bool sorted)
size_t num; size_t num;
int ret; int ret;
num = 0;
ret = _lookup_seq_open(&cla, _PATH_ESDB "/" ESDB_ALIAS, ret = _lookup_seq_open(&cla, _PATH_ESDB "/" ESDB_ALIAS,
_LOOKUP_CASE_IGNORE); _LOOKUP_CASE_IGNORE);
if (ret) if (ret)