Fix wrong type definition 98/78398/2
authorpr.jung <pr.jung@samsung.com>
Tue, 5 Jul 2016 09:56:51 +0000 (18:56 +0900)
committerpr.jung <pr.jung@samsung.com>
Wed, 6 Jul 2016 03:27:53 +0000 (12:27 +0900)
Change-Id: I158fe8d9658c95784010e2f70e8eca9881e97d7d
Signed-off-by: pr.jung <pr.jung@samsung.com>
src/vibrator.c

index 42e257e..48cd3c2 100644 (file)
@@ -298,7 +298,7 @@ static int vibrator_is_supported(int pattern, bool *supported)
 {
        char *temp;
        char *data;
-       bool ret = true;
+       int ret = 0;
 
        if (!supported) {
                _E("Invalid parameter : supported(NULL)"); //LCOV_EXCL_LINE