Check coding style 23/202623/1
authormk5004.lee <mk5004.lee@samsung.com>
Tue, 2 Apr 2019 02:12:36 +0000 (11:12 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Tue, 2 Apr 2019 02:12:36 +0000 (11:12 +0900)
- Add parentheses

Change-Id: I1347d817c5aff07a0148e9c126f02e39cab8ebc4
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
notification/src/notification_shared_file.c

index 7ca23d9cef9be2324f5ce59de59deb9dd3e68531..f757ede104e59d78c2cd55f167c1b01330b4f3ff 100644 (file)
@@ -137,12 +137,14 @@ static const char *__last_index_of(const char *path, const char *search)
        index = path + strlen(path) - search_len;
 
        while (index >= path) {
-               for (i = 0; i < search_len; i++)
+               for (i = 0; i < search_len; i++) {
                        if (index[i] != search[i])
                                break;
+               }
 
                if (i == search_len)
                        return index;
+
                index--;
        }