aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2012-01-16 22:17:48 -0500
committerLuke Dashjr <luke-jr+git@utopios.org>2012-01-16 22:18:51 -0500
commit948072c39f913d1ebe43b3b46234f9d7a0d00427 (patch)
tree6724ebe32f5ae6e05b9a7d6aa58b4defa6578f70 /src/checkpoints.cpp
parent880c47863587ef4f464c4d681713e1f24cbf1cb7 (diff)
downloadbitcoin-948072c39f913d1ebe43b3b46234f9d7a0d00427.tar.xz
Code tidyups, fixing various warnings.
Partial cherry pick of: Compile with extra warnings turned on. And more makefile/code tidying up. This turns on most gcc warnings, and removes some unused variables and other code that triggers warnings. Exceptions are: -Wno-sign-compare : triggered by lots of comparisons of signed integer to foo.size(), which is unsigned. -Wno-char-subscripts : triggered by the convert-to-hex functions (I may fix this in a future commit). Conflicts: src/makefile.osx src/makefile.unix src/netbase.cpp src/rpc.cpp
Diffstat (limited to 'src/checkpoints.cpp')
-rw-r--r--src/checkpoints.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp
index c7e054df37..508f72b376 100644
--- a/src/checkpoints.cpp
+++ b/src/checkpoints.cpp
@@ -52,7 +52,6 @@ namespace Checkpoints
{
if (fTestNet) return NULL;
- int64 nResult;
BOOST_REVERSE_FOREACH(const MapCheckpoints::value_type& i, mapCheckpoints)
{
const uint256& hash = i.second;