svn commit: r299660 - head/sys/boot/i386/zfsboot
Garrett Cooper
ngie at FreeBSD.org
Fri May 13 11:20:23 UTC 2016
Author: ngie
Date: Fri May 13 11:20:21 2016
New Revision: 299660
URL: https://svnweb.freebsd.org/changeset/base/299660
Log:
Put slba and elba under LOADER_GELI_SUPPORT ifdef to mute warning about them being
unused in the non-GELI case
MFC after: 1 week
Reported by: clang
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/boot/i386/zfsboot/zfsboot.c
Modified: head/sys/boot/i386/zfsboot/zfsboot.c
==============================================================================
--- head/sys/boot/i386/zfsboot/zfsboot.c Fri May 13 11:18:29 2016 (r299659)
+++ head/sys/boot/i386/zfsboot/zfsboot.c Fri May 13 11:20:21 2016 (r299660)
@@ -398,7 +398,9 @@ probe_drive(struct dsk *dsk)
struct gpt_ent *ent;
unsigned part, entries_per_sec;
#endif
+#ifdef LOADER_GELI_SUPPORT
daddr_t slba, elba;
+#endif
struct dos_partition *dp;
char *sec;
unsigned i;
More information about the svn-src-head
mailing list