remove set-but-unused-variable varning cg_iter

test if ok
remove set-but-unused-variable varning cg_iter

test if ok
remove -Wunused-but-set-variable getticks()
unused but set var
Merge branch 'resolve-gcc-warnings' of https://github.com/breznak/nupic into resolve-gcc-warnings
Merge branch 'master' into resolve-gcc-warnings
Merge pull request #205 from breznak/resolve-gcc-warnings

resolve some gcc warnings