Code tidyups, fixing various warnings.
authorLuke Dashjr <luke-jr+git@utopios.org>
Tue, 17 Jan 2012 03:17:48 +0000 (22:17 -0500)
committerLuke Dashjr <luke-jr+git@utopios.org>
Tue, 17 Jan 2012 03:18:51 +0000 (22:18 -0500)
commit948072c39f913d1ebe43b3b46234f9d7a0d00427
tree6724ebe32f5ae6e05b9a7d6aa58b4defa6578f70
parent880c47863587ef4f464c4d681713e1f24cbf1cb7
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
src/checkpoints.cpp
src/headers.h
src/net.cpp
src/net.h
src/serialize.h