Author: eadler Date: Fri Jan 20 01:39:01 2012 New Revision: 230358 URL: http://svn.freebsd.org/changeset/base/230358
Log: 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 Modified: head/usr.sbin/sade/devices.c Modified: head/usr.sbin/sade/devices.c ============================================================================== --- head/usr.sbin/sade/devices.c Fri Jan 20 01:38:52 2012 (r230357) +++ head/usr.sbin/sade/devices.c Fri Jan 20 01:39:01 2012 (r230358) @@ -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: _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"