yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=4e55538bc4dd6a39183355b27fbebcf22042ce10

commit 4e55538bc4dd6a39183355b27fbebcf22042ce10
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Sun Oct 18 11:37:14 2015 +0300

    Fix return values in gui_parser_json_parse()
---
 src/lib/gui_parser.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/gui_parser.c b/src/lib/gui_parser.c
index 53c75e4..bdfc0f8 100644
--- a/src/lib/gui_parser.c
+++ b/src/lib/gui_parser.c
@@ -1009,7 +1009,7 @@ gui_parser_json_parse(Gui_Context *gui_ctx, const char 
*_data, Eina_Bool rename,
         l = eina_json_context_line_get(ctx);
         c = eina_json_context_column_get(ctx);
         ERR("json parsing error: %d, line: %d, column: %d", e, l, c);
-        return NULL;
+        return EINA_FALSE;
      }
 
    const char *name;
@@ -1022,7 +1022,7 @@ gui_parser_json_parse(Gui_Context *gui_ctx, const char 
*_data, Eina_Bool rename,
    if (type != EINA_JSON_TYPE_OBJECT)
      {
         ERR("Json Value is not Object");
-        return NULL;
+        return EINA_FALSE;
      }
 
    Eina_Json_Value *_tmp = NULL;

-- 


Reply via email to