Fix warning when compiling with gcc46:

error: variable 'fd' set but not used

Approved by:	dim, cperciva (mentor, blanket for pre-mentorship already-approved commits)
MFC after:	3 days
This commit is contained in:
Eitan Adler 2012-01-20 01:39:01 +00:00
parent e0ef7724c3
commit 335797f33e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230358

View File

@ -169,7 +169,7 @@ deviceReset(void)
void
deviceGetAll(void)
{
int i, j, fd;
int i, j;
char **names;
msgNotify("Probing devices, please wait (this can take a while)...");
@ -183,7 +183,7 @@ deviceGetAll(void)
switch(device_names[i].type) {
case DEVICE_TYPE_DISK:
fd = deviceTry(device_names[i], try, j);
deviceTry(device_names[i], try, j);
break;
default: