fix unused declaration/definition warnings from GCC 4.9
Merge pull request #285 from dicej/warnings

fix unused declaration/definition warnings from GCC 4.9