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
This commit is contained in:
Enji Cooper 2016-05-13 11:20:21 +00:00
parent 6af558669b
commit 3f9bee9c5a

View File

@ -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;