From 500401364dbff5d6f674b3f8de075a20f48de3f7 Mon Sep 17 00:00:00 2001 From: Cedric Bail Date: Mon, 6 Mar 2017 17:03:03 -0800 Subject: elementary: fix tests build. --- src/lib/elementary/elm_code_parse.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/lib/elementary') diff --git a/src/lib/elementary/elm_code_parse.c b/src/lib/elementary/elm_code_parse.c index 8f7243df2a..f4eac48595 100644 --- a/src/lib/elementary/elm_code_parse.c +++ b/src/lib/elementary/elm_code_parse.c @@ -150,9 +150,13 @@ _elm_code_parser_syntax_parse_file(Elm_Code_File *file, void *data EINA_UNUSED) syntax = elm_code_syntax_for_mime_get(file->mime); if (!syntax) - WRN("Unsupported mime in parser"); + { + WRN("Unsupported mime in parser"); + } else - elm_code_syntax_parse_file(syntax, file); + { + elm_code_syntax_parse_file(syntax, file); + } } static void -- cgit v1.2.1