remove unused consts, as found using clang 3.4 (on Travis)