kern/95848: witness_levelall() in subr_witness.c should be #ifdef
DDB
Tomas Olsson
tol at stacken.kth.se
Sun Apr 16 02:10:16 UTC 2006
>Number: 95848
>Category: kern
>Synopsis: witness_levelall() in subr_witness.c should be #ifdef DDB
>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: Sun Apr 16 02:10:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Tomas Olsson
>Release: RELENG_6
>Organization:
Stacken Computer Club
>Environment:
FreeBSD pytte.t.nxs.se 6.1-BETA3 FreeBSD 6.1-BETA3 #0: Thu Mar 2 11:03:41 UTC 2006 root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Using a fresh cvsup:ed RELENG_6 sys tree with subr_witness.c 1.195.2.8, I get
./../../kern/subr_witness.c:1524: warning: 'witness_levelall' defined but not used
*** Error code 1
My config has
options WITNESS
but not DDB.
>How-To-Repeat:
Configure kernel as above compile.
>Fix:
"#ifdef DDB" once or twice does the trick, as in HEAD.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list