From 0f8d52fecb1c204b5283c8a4a0201370afc4a551 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Mon, 23 Jul 2012 16:49:08 +0200 Subject: [PATCH] Warning fixes --- input/gesture_detector.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/input/gesture_detector.cpp b/input/gesture_detector.cpp index 01b2098bb7..6494553a76 100644 --- a/input/gesture_detector.cpp +++ b/input/gesture_detector.cpp @@ -47,6 +47,7 @@ bool down(int i, float *xdelta, float *ydelta) { } *xdelta = fingers[i].downX; *ydelta = fingers[i].downY; + return true; } bool dragDistance(int i, float *xdelta, float *ydelta) { @@ -55,6 +56,7 @@ bool dragDistance(int i, float *xdelta, float *ydelta) { *xdelta = fingers[i].X - fingers[i].downX; *ydelta = fingers[i].Y - fingers[i].downY; + return true; } bool dragDelta(int i, float *xdelta, float *ydelta) { @@ -63,6 +65,7 @@ bool dragDelta(int i, float *xdelta, float *ydelta) { *xdelta = fingers[i].X - fingers[i].lastX; *ydelta = fingers[i].Y - fingers[i].lastY; + return true; } }