From aa38532cc3d8c1827865d877257c702598e4af40 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Wed, 23 Dec 2020 13:03:13 +0100 Subject: [PATCH] Remove unused variable --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index 94dfe693..95ee53bf 100644 --- a/src/core.c +++ b/src/core.c @@ -1475,7 +1475,7 @@ Vector2 GetMonitorPosition(int monitor) { int x, y; glfwGetMonitorPos(monitors[monitor], &x, &y); - const GLFWvidmode* mode = glfwGetVideoMode(monitors[monitor]); + return (Vector2){ (float)x, (float)y }; } else TRACELOG(LOG_WARNING, "GLFW: Failed to find selected monitor");