aboutsummaryrefslogtreecommitdiff
path: root/src/checkpoints.cpp
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2012-01-12 20:02:47 -0500
committerGavin Andresen <[email protected]>2012-01-12 20:02:47 -0500
commita1de57a063af397612bb77f87c803c578d04f8e5 (patch)
tree89195dc59b21098e0d747d88e2f4c1ee6ba9d9f0 /src/checkpoints.cpp
parentRemove broken Visual C++ makefile.vc, and removed annoying HEADERS= list from... (diff)
downloaddiscoin-a1de57a063af397612bb77f87c803c578d04f8e5.tar.xz
discoin-a1de57a063af397612bb77f87c803c578d04f8e5.zip
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).
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 c7e054df3..508f72b37 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;