Fix compiler warnings
minor #150 Fix compiler warnings (jpauli)

This PR was merged into the 2.1.x-dev branch.

Discussion
----------

Fix compiler warnings

Commits
-------

c9d5cab Fix compiler warnings