From: Ankur Date: Thu, 18 Dec 2014 14:14:49 +0000 (+0530) Subject: Added missing function call X-Git-Tag: submit/tizen/20150113.012540~65^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F32494%2F1;p=platform%2Fcore%2Fsystem%2Fsensord.git 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 --- 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;