obey the code rule 66/110066/3
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 12 Jan 2017 22:57:11 +0000 (07:57 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 13 Jan 2017 03:49:50 +0000 (19:49 -0800)
Change-Id: Ibd0599add7ad8b984719f83d2b176ce73a0c6ea0
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
src/tbm_surface_internal.c

index 670023406a66b0fd53a348a84d516d9f7370b2fe..63df7d22001c48924e3a18da637ba4d06687f05c 100644 (file)
@@ -1396,9 +1396,8 @@ _tbm_surface_internal_get_debug_data(tbm_surface_h surface, char *key)
 
        if (!LIST_IS_EMPTY(&surface->debug_data_list)) {
                LIST_FOR_EACH_ENTRY(old_data, &surface->debug_data_list, item_link) {
-                       if (!strcmp(old_data->key, key)) {
+                       if (!strcmp(old_data->key, key))
                                return old_data->value;
-                       }
                }
        }