testgesture: minor cleanups.
authorRyan C. Gordon
Fri, 15 Mar 2019 22:17:21 -0400
changeset 126346985acae187a
parent 12633 24cf4c64c34f
child 12635 cd9e8dc74ecd
testgesture: minor cleanups.
test/testgesture.c
     1.1 --- a/test/testgesture.c	Fri Mar 15 22:16:02 2019 -0400
     1.2 +++ b/test/testgesture.c	Fri Mar 15 22:17:21 2019 -0400
     1.3 @@ -42,9 +42,7 @@
     1.4  
     1.5  static int colors[7] = {0xFF,0xFF00,0xFF0000,0xFFFF00,0x00FFFF,0xFF00FF,0xFFFFFF};
     1.6  
     1.7 -SDL_Surface *screen;
     1.8 -SDL_Window *window;
     1.9 -int quitting = 0;
    1.10 +static int quitting = 0;
    1.11  
    1.12  typedef struct {
    1.13    float x,y;
    1.14 @@ -267,10 +265,6 @@
    1.15  
    1.16  int main(int argc, char* argv[])
    1.17  {
    1.18 -  int i;
    1.19 -
    1.20 -  quitting = 0;
    1.21 -
    1.22    /* gesture variables */
    1.23    knob.r = .1f;
    1.24    knob.ang = 0;