rfernandes/answer — pull request #8 by rdmrocha (2013-05-30 16:27:31+00:00)
Title: we should read the warnings. they are very usefull :)

* removed warnings
* removed shadow variables
* safer use of compare for certain compiler versions (optimization related)