From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Rs0dc-0001Mo-5q for bitcoin-development@lists.sourceforge.net; Mon, 30 Jan 2012 23:27:52 +0000 Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.53 as permitted sender) client-ip=74.125.82.53; envelope-from=grarpamp@gmail.com; helo=mail-ww0-f53.google.com; Received: from mail-ww0-f53.google.com ([74.125.82.53]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-MD5:128) (Exim 4.76) id 1Rs0dZ-00052I-Qt for bitcoin-development@lists.sourceforge.net; Mon, 30 Jan 2012 23:27:52 +0000 Received: by wgbdr12 with SMTP id dr12so5307562wgb.10 for ; Mon, 30 Jan 2012 15:27:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.80.8 with SMTP id n8mr30921107wix.14.1327966063720; Mon, 30 Jan 2012 15:27:43 -0800 (PST) Received: by 10.180.103.227 with HTTP; Mon, 30 Jan 2012 15:27:43 -0800 (PST) Date: Mon, 30 Jan 2012 18:27:43 -0500 Message-ID: From: grarpamp To: bitcoin-development@lists.sourceforge.net Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.9 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (grarpamp[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.7 AWL AWL: From: address is in the auto white-list X-Headers-End: 1Rs0dZ-00052I-Qt Subject: [Bitcoin-development] Compilation warnings with -Wall X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2012 23:27:52 -0000 This is counted from the current git master on bsd. The first two are of note and should probably be looked at. A little more work after those and it might be possible to use -Wall by default as addressing even some of these would remove tons of lines from the output :) 1 net.cpp:141: warning: 'pszGet' may be used uninitialized in this function 1 net.cpp:142: warning: 'pszKeyword' may be used uninitialized in this function 1 script.cpp:1427: warning: unused variable 'n' 1 test/miner_tests.cpp:14: warning: unused variable 'pstate' 1 bitcoinrpc.cpp:1533: warning: unused parameter 'parg' 1 bitcoinrpc.cpp:2366: warning: unused parameter 'parg' 1 db.cpp:337: warning: unused parameter 'nHeight' 1 init.cpp:36: warning: unused parameter 'parg' 1 init.cpp:44: warning: unused parameter 'parg' 1 init.cpp:705: warning: unused parameter 'fAutoStart' 1 irc.cpp:258: warning: unused parameter 'parg' 1 json/json_spirit_reader_template.h:362: warning: unused parameter 'i' 1 json/json_spirit_reader_template.h:381: warning: unused parameter 'end' 1 json/json_spirit_reader_template.h:386: warning: unused parameter 'end' 1 json/json_spirit_reader_template.h:391: warning: unused parameter 'end' 1 json/json_spirit_reader_template.h:401: warning: unused parameter 'end' 1 main.cpp:3130: warning: unused parameter 'pindexPrev' 1 net.cpp:1063: warning: unused parameter 'parg' 1 net.cpp:1209: warning: unused parameter 'parg' 1 net.cpp:1380: warning: unused parameter 'parg' 1 net.cpp:1480: warning: unused parameter 'parg' 1 net.cpp:1617: warning: unused parameter 'parg' 1 net.cpp:200: warning: unused parameter 'parg' 1 net.cpp:619: warning: unused parameter 'parg' 13 noui.h:40: warning: unused parameter 'parent' 13 noui.h:40: warning: unused parameter 'style' 13 noui.h:40: warning: unused parameter 'x' 13 noui.h:40: warning: unused parameter 'y' 13 noui.h:53: warning: unused parameter 'nFeeRequired' 13 noui.h:53: warning: unused parameter 'parent' 13 noui.h:53: warning: unused parameter 'strCaption' 13 noui.h:58: warning: unused parameter 'nField' 13 noui.h:58: warning: unused parameter 'strText' 13 noui.h:62: warning: unused parameter 'fn' 13 noui.h:70: warning: unused parameter 'message' 23 script.h:352: warning: unused parameter 'b' 1 serialize.h:1131: warning: unused parameter 'nType' 1 serialize.h:1131: warning: unused parameter 'nVersion' 31 serialize.h:176: warning: unused parameter 'a' 53 serialize.h:460: warning: unused parameter 'nType' 53 serialize.h:460: warning: unused parameter 'nVersion' 66 serialize.h:482: warning: unused parameter 'nType' 66 serialize.h:482: warning: unused parameter 'nVersion' 66 serialize.h:505: warning: unused parameter 'nType' 66 serialize.h:505: warning: unused parameter 'nVersion' 611 serialize.h:747: warning: unused parameter 's' 611 serialize.h:747: warning: unused parameter 'ser_action' 607 serialize.h:753: warning: unused parameter 'ser_action' 671 serialize.h:760: warning: unused parameter 'ser_action' 1 test/test_bitcoin.cpp:25: warning: unused parameter 'parg' 23 uint256.h:359: warning: unused parameter 'nType' 23 uint256.h:359: warning: unused parameter 'nVersion' 66 uint256.h:365: warning: unused parameter 'nType' 66 uint256.h:365: warning: unused parameter 'nVersion' 45 uint256.h:371: warning: unused parameter 'nType' 45 uint256.h:371: warning: unused parameter 'nVersion' 1 util.cpp:1184: warning: unused parameter 'nLine' 1 util.cpp:1184: warning: unused parameter 'pszFile' 1 util.cpp:1184: warning: unused parameter 'pszName' 1 util.cpp:48: warning: unused parameter 'file' 1 util.cpp:48: warning: unused parameter 'line' 28 util.h:682: warning: unused parameter 'nExitCode' 28 util.h:697: warning: unused parameter 'pfn' 1 wallet.cpp:320: warning: unused parameter 'fFindBlock'