diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-04-16 10:55:06 -0400 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-04-16 10:55:06 -0400 |
commit | 797f590cfb846e978561f2ff1e6921e37c2d4aff (patch) | |
tree | 062243d9fc3e3c612d2b4c70849ae6f871538054 /common | |
parent | 74cb7edb5b3adcb627659064dd0a7f3acfd4b87c (diff) | |
download | qtlocation-mapboxgl-797f590cfb846e978561f2ff1e6921e37c2d4aff.tar.gz |
cleanup + unused arguments
Diffstat (limited to 'common')
-rw-r--r-- | common/map_view.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/common/map_view.cpp b/common/map_view.cpp index 8b913cd0c5..cf8269a44e 100644 --- a/common/map_view.cpp +++ b/common/map_view.cpp @@ -64,15 +64,10 @@ public: glfwSetWindowSizeCallback(window, resize); glfwSetFramebufferSizeCallback(window, resize); glfwSetScrollCallback(window, scroll); - glfwSetCharCallback(window, character); glfwSetKeyCallback(window, key); } - static void character(GLFWwindow *window, unsigned int codepoint) { - - } - - static void key(GLFWwindow *window, int key, int scancode, int action, int mods) { + static void key(GLFWwindow *window, int key, int /*scancode*/, int action, int mods) { MapView *mapView = (MapView *)glfwGetWindowUserPointer(window); if (action == GLFW_RELEASE) { @@ -96,7 +91,7 @@ public: } } - static void scroll(GLFWwindow *window, double xoffset, double yoffset) { + static void scroll(GLFWwindow *window, double /*xoffset*/, double yoffset) { MapView *mapView = (MapView *)glfwGetWindowUserPointer(window); double delta = yoffset * 40; |