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 6700234..63df7d2 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;
-                       }
                }
        }