Mute warnings: Comment out unused vars, delete unneeded comment, fix var

Tidying up some compiler warnings.  Fix a signed/unsigned comparision clash
Also changed "build" project variable to reflect git branch name.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>