bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Misapplied UNUSED parameter in current CVS snapshot


From: Russ Allbery
Subject: [Bug-gnubg] Misapplied UNUSED parameter in current CVS snapshot
Date: Sun, 29 Apr 2012 15:23:42 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

I had to apply the following patch to get the latest Debian package to
build.  It looks like a slightly over-aggressive application of UNUSED
tested against a build that didn't have an optional feature enabled.

diff --git a/set.c b/set.c
index 2bc8d63..6e3c786 100644
--- a/set.c
+++ b/set.c
@@ -1548,7 +1548,7 @@ extern void CommandSetRNGFile( char *sz ) {
     SetRNG( rngSet, rngctxSet, RNG_FILE, sz );
 }
 
-extern void CommandSetRNGBBS( char *UNUSED(sz) ) {
+extern void CommandSetRNGBBS( char *sz ) {
 #if HAVE_LIBGMP
     SetRNG( rngSet, rngctxSet, RNG_BBS, sz );
 #else

-- 
Russ Allbery (address@hidden)             <http://www.eyrie.org/~eagle/>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]