jackdanielz pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b437457657e0858b1295727220cf52e1197c463d

commit b437457657e0858b1295727220cf52e1197c463d
Author: Yossi Kantor <[email protected]>
Date:   Wed Apr 2 16:12:23 2014 +0300

    Eolian: Legacy generator - no semicolon after EINA_WARN_UNUSED_RESULT
---
 src/bin/eolian/legacy_generator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/eolian/legacy_generator.c 
b/src/bin/eolian/legacy_generator.c
index af17f84..bae7fab 100644
--- a/src/bin/eolian/legacy_generator.c
+++ b/src/bin/eolian/legacy_generator.c
@@ -178,7 +178,7 @@ _eapi_decl_func_generate(const char *classname, 
Eolian_Function funcid, Eolian_F
      {
         Eina_Bool no_nonull = !flags;
         if (no_nonull) flags = eina_strbuf_new();
-        eina_strbuf_prepend_printf(flags, " EINA_WARN_UNUSED_RESULT%s", 
!no_nonull?", ":"");
+        eina_strbuf_prepend(flags, " EINA_WARN_UNUSED_RESULT");
      }
    if (flags)
       eina_strbuf_replace_all(fbody, "@#flags", eina_strbuf_string_get(flags));

-- 


Reply via email to