From 7cc0a606d84a6408f1189946c484b3d437aeee0c Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 15 Mar 2019 22:17:21 -0400 Subject: [PATCH] testgesture: minor cleanups. --- test/testgesture.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/testgesture.c b/test/testgesture.c index cd6d9bec4..7d68a81e7 100644 --- a/test/testgesture.c +++ b/test/testgesture.c @@ -42,9 +42,7 @@ static int eventWrite; static int colors[7] = {0xFF,0xFF00,0xFF0000,0xFFFF00,0x00FFFF,0xFF00FF,0xFFFFFF}; -SDL_Surface *screen; -SDL_Window *window; -int quitting = 0; +static int quitting = 0; typedef struct { float x,y; @@ -267,10 +265,6 @@ void loop() int main(int argc, char* argv[]) { - int i; - - quitting = 0; - /* gesture variables */ knob.r = .1f; knob.ang = 0;