Clean up the code a bit.
Clean up the code a bit.

Fix compiler warnings by removing an unused variable and updating the
argument check for name_debug.

domob1812/huntercoin,domob1812/huntercoin,domob1812/huntercoin,wiggi/huntercoin,wiggi/huntercoin,chronokings/huntercoin,fsb4000/huntercoin,chronokings/huntercoin,wiggi/huntercoin,chronokings/huntercoin,fsb4000/huntercoin,fsb4000/huntercoin,fsb4000/huntercoin,domob1812/huntercoin,chronokings/huntercoin,wiggi/huntercoin