src/events/SDL_gesture.c
changeset 7508 1f64c6874619
parent 7252 8ecb54eeaeec
child 7509 cf7c2e3493b2
--- a/src/events/SDL_gesture.c	Tue Jul 23 17:38:59 2013 -0700
+++ b/src/events/SDL_gesture.c	Tue Jul 23 17:40:13 2013 -0700
@@ -392,7 +392,7 @@
 static float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch)
 {
 
-    SDL_FloatPoint points[DOLLARNPOINTS];
+    SDL_FloatPoint points[DOLLARNPOINTS] = {};
     int i;
     float bestDiff = 10000;