From d1810ed034156a45c518a122f525f5a39aef5cae Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 30 Jan 2014 11:38:07 +0100 Subject: [PATCH] utils: Check retrun value of edje_object_file_set In this case it not really useful as the functions returns void and this is the last instruction anyway. Still better to have this in to set good examples in the code. CID 1100661 --- src/bin/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/utils.c b/src/bin/utils.c index 67fb71c5..66f2f897 100644 --- a/src/bin/utils.c +++ b/src/bin/utils.c @@ -37,7 +37,7 @@ theme_reload(Evas_Object *edje) edje_object_file_get(edje, &file, &group); INF("file=%s, group=%s", file, group); - edje_object_file_set(edje, file, group); + if (!edje_object_file_set(edje, file, group)) return; } static void