summaryrefslogtreecommitdiff
path: root/40/ddddd77c520b0662ba687e80d5a584142aaea9
blob: 61e275b5787dec25e0cb8b07bc3a449f1306ebc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
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 <grarpamp@gmail.com>) 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 <bitcoin-development@lists.sourceforge.net>;
	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: <CAD2Ti29M_cYh=4-1AFqoJ9umk8RB5PnHD2pjXMRNuD96LxVcbw@mail.gmail.com>
From: grarpamp <grarpamp@gmail.com>
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: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=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'