From cb35b6dd8a1f44a8f103fdbcebae5b0dcf4bbbf5 Mon Sep 17 00:00:00 2001 From: Ankur Date: Thu, 18 Dec 2014 19:44:49 +0530 Subject: [PATCH] Added missing function call - Missing Function call to sf_stop() in one of the test cases - linear_acceleration.c - Also, it was leading to a warning about use before intialization warning. Change-Id: Ic0df7b6334945ac62048fee9ddcdb32fdf0fcba9 --- test/src/linear_acceleration.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/src/linear_acceleration.c b/test/src/linear_acceleration.c index 5e157e5..e45f4cc 100755 --- a/test/src/linear_acceleration.c +++ b/test/src/linear_acceleration.c @@ -94,6 +94,8 @@ int main(int argc,char **argv) sf_unregister_event(handle, event); + stop_handle = sf_stop(handle); + if (stop_handle < 0) { printf("Error\n\n"); return -1; -- 2.7.4