Make this compile under external gcc toolchain if WITH_ICONV isn't defined.

This quietens a bunch of unused variable warnings that are treated as errors.
This commit is contained in:
Adrian Chadd 2019-12-29 06:59:09 +00:00
parent e1ab406007
commit 350bfebba9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356169

View file

@ -134,12 +134,15 @@ int
fstyp_ntfs(FILE *fp, char *label, size_t size)
{
struct ntfs_bootfile *bf;
char *filerecp;
#ifdef WITH_ICONV
struct ntfs_filerec *fr;
struct ntfs_attr *atr;
off_t voloff;
char *filerecp, *ap;
char *ap;
int8_t mftrecsz;
int recsize;
#endif /* WITH_ICONV */
filerecp = NULL;