From owner-freebsd-bugs Mon Jun 24 19:10:21 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9FBBF37B408 for ; Mon, 24 Jun 2002 19:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5P2A2K67994; Mon, 24 Jun 2002 19:10:02 -0700 (PDT) (envelope-from gnats) Received: from xkulesh.vol.cz (xkulesh.vol.cz [195.250.154.106]) by hub.freebsd.org (Postfix) with ESMTP id 7496437B407 for ; Mon, 24 Jun 2002 19:05:39 -0700 (PDT) Received: from obluda.cz (localhost [127.0.0.1]) by xkulesh.vol.cz (8.12.3/8.12.3) with ESMTP id g5P25aTx054187 for ; Tue, 25 Jun 2002 04:05:37 +0200 (CEST) (envelope-from dan@obluda.cz) Received: (from root@localhost) by xkulesh.vol.cz (8.12.4/8.12.4/Submit) id g5P1c2k2053231; Tue, 25 Jun 2002 03:38:02 +0200 (CEST) Message-Id: <200206250138.g5P1c2k2053231@xkulesh.vol.cz> Date: Tue, 25 Jun 2002 03:38:02 +0200 (CEST) From: Dan Lukes Reply-To: Dan Lukes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/39816: cleaning sbin/camcontrol code from warnings Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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