diff --git a/src/rcore.c b/src/rcore.c index 96bca24c7..a6e4820f6 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -192,8 +192,6 @@ #define CHDIR chdir #endif - - //---------------------------------------------------------------------------------- // Global Variables Definition //---------------------------------------------------------------------------------- @@ -2327,6 +2325,7 @@ void OpenURL(const char *url) // Check if a key has been pressed once bool IsKeyPressed(int key) { + bool pressed = false; if ((key > 0) && (key < MAX_KEYBOARD_KEYS))