projects
/
platform
/
core
/
system
/
sensord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30e4720
)
Added missing function call
94/32494/1
author
Ankur
<ankur29.garg@samsung.com>
Thu, 18 Dec 2014 14:14:49 +0000
(19:44 +0530)
committer
Ankur
<ankur29.garg@samsung.com>
Thu, 18 Dec 2014 14:15:04 +0000
(19:45 +0530)
- 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
patch
|
blob
|
history
diff --git
a/test/src/linear_acceleration.c
b/test/src/linear_acceleration.c
index
5e157e5
..
e45f4cc
100755
(executable)
--- 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;