From f8a373cb7014a6a6adcfc64db6b6a41b5417fb74 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 17 Nov 2012 16:48:02 +0000 Subject: [PATCH] Remove useless CONTROL_UserInputCleared. It was useless in the literal sense, e.g not actually used anywhere. :p git-svn-id: https://svn.eduke32.com/eduke32@3198 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/jmact/control.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/polymer/eduke32/source/jmact/control.c b/polymer/eduke32/source/jmact/control.c index 098d1cbbc..4b6de4f54 100644 --- a/polymer/eduke32/source/jmact/control.c +++ b/polymer/eduke32/source/jmact/control.c @@ -49,7 +49,6 @@ static int32_t CONTROL_MouseButtonClickedTime[MAXMOUSEBUTTONS], CONTROL_JoyBu static int32_t CONTROL_MouseButtonClickedState[MAXMOUSEBUTTONS], CONTROL_JoyButtonClickedState[MAXJOYBUTTONS]; static int32_t CONTROL_MouseButtonClicked[MAXMOUSEBUTTONS], CONTROL_JoyButtonClicked[MAXJOYBUTTONS]; static uint8_t CONTROL_MouseButtonClickedCount[MAXMOUSEBUTTONS], CONTROL_JoyButtonClickedCount[MAXJOYBUTTONS]; -static int32_t CONTROL_UserInputCleared[3]; static int32_t(*GetTime)(void); int32_t CONTROL_Started = FALSE; //static int32_t ticrate; @@ -816,8 +815,6 @@ int32_t CONTROL_Startup(controltype which, int32_t(*TimeFunction)(void), int32_t CONTROL_ButtonState = 0; CONTROL_ButtonHeldState = 0; - memset(CONTROL_UserInputCleared, 0, sizeof(CONTROL_UserInputCleared)); - for (i=0; i