From 01d7f5acff9a48ba51a21695be236602a1602b25 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 13 Jan 2017 07:57:11 +0900 Subject: [PATCH] obey the code rule Change-Id: Ibd0599add7ad8b984719f83d2b176ce73a0c6ea0 Signed-off-by: SooChan Lim --- src/tbm_surface_internal.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tbm_surface_internal.c b/src/tbm_surface_internal.c index 6700234..63df7d2 100644 --- a/src/tbm_surface_internal.c +++ b/src/tbm_surface_internal.c @@ -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; - } } } -- 2.7.4