Eolian: Legacy generator - no semicolon after EINA_WARN_UNUSED_RESULT
authorYossi Kantor <yossi.kantor@samsung.com>
Wed, 2 Apr 2014 13:12:23 +0000 (16:12 +0300)
committerDaniel Zaoui <daniel.zaoui@samsung.com>
Wed, 9 Apr 2014 01:08:57 +0000 (04:08 +0300)
src/bin/eolian/legacy_generator.c

index af17f84..bae7fab 100644 (file)
@@ -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));