Date: Tue, 25 Jun 2002 03:38:02 +0200 (CEST) From: Dan Lukes <dan@obluda.cz> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/39816: cleaning sbin/camcontrol code from warnings Message-ID: <200206250138.g5P1c2k2053231@xkulesh.vol.cz>
next in thread | raw e-mail | index | archive | help
>Number: 39816 >Category: bin >Synopsis: cleaning sbin/camcontrol code from warnings >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 24 19:10:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 4.6-STABLE i386 >Organization: Obludarium >Environment: System: FreeBSD xkulesh.vol.cz 4.6-STABLE FreeBSD sbin/camcontrol/camcontrol.c,v 1.21.2.12 2002/04/07 03:44:49 >Description: I want to clean some warnings from code. sbin/camcontrol/camcontrol.c: In function `rescan_or_reset_bus': 1050: warning: unused variable `curbus' The variable is really unused >How-To-Repeat: N/A >Fix: --- sbin/camcontrol/camcontrol.c.ORIG Mon Apr 8 01:16:19 2002 +++ sbin/camcontrol/camcontrol.c Tue Jun 25 03:37:14 2002 @@ -1047,7 +1047,6 @@ rescan_or_reset_bus(int bus, int rescan) { union ccb ccb, matchccb; - int curbus; int fd, retval; int bufsize; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206250138.g5P1c2k2053231>