HomeFreeBSD

iconv: Fix a pointer mismatch.

Description

iconv: Fix a pointer mismatch.

Catch NULL pointer earlier, check for empty string later.
Apparently this fixes a GCC8 warning.

Obtained from: NetBSD (CVS Rev. 1.21, 1.22) through DragonFlyBSD
MFC after: 1 week

Details

Provenance
pfgAuthored on
Parents
rS326027: Indent protection and some other oops from the prvious commits.
Branches
Unknown
Tags
Unknown