Fixed more trivial warnings found by g++ 4.3
Fixed more trivial warnings found by g++ 4.3

paulbdavis/ledger,jwakely/ledger,jwakely/ledger,afh/ledger,jwakely/ledger,ledger/ledger,afh/ledger,paulbdavis/ledger,jwakely/ledger,ledger/ledger,jwakely/ledger,duncanmortimer/ledger,paulbdavis/ledger,duncanmortimer/ledger,jwakely/ledger,ledger/ledger,duncanmortimer/ledger,afh/ledger,paulbdavis/ledger,duncanmortimer/ledger,jwakely/ledger,duncanmortimer/ledger,afh/ledger,paulbdavis/ledger,ledger/ledger,afh/ledger,duncanmortimer/ledger,paulbdavis/ledger,ledger/ledger,duncanmortimer/ledger,paulbdavis/ledger