summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2020-04-28 19:47:26 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2020-04-28 19:50:45 +0200
commitb850c446539bb0c344787a174eb4c6a15dc3ce4a (patch)
tree2bd5133d6d65a9462bb3bfecaeedf6ca2d659d9d
parent2a9d28291b414c9da5f5c56960b7d7c660889ea3 (diff)
eolian_gen: mark empty setter value params as unused
-rw-r--r--src/bin/eolian/sources.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian/sources.c b/src/bin/eolian/sources.c
index 8ba401851b..dc79ee2daa 100644
--- a/src/bin/eolian/sources.c
+++ b/src/bin/eolian/sources.c
@@ -682,7 +682,7 @@ _gen_func(const Eolian_Class *cl, const Eolian_Function *fid,
682 eina_strbuf_append_char(params_full_imp, ' '); 682 eina_strbuf_append_char(params_full_imp, ' ');
683 eina_strbuf_append(params_full_imp, add_star); 683 eina_strbuf_append(params_full_imp, add_star);
684 eina_strbuf_append(params_full_imp, prn); 684 eina_strbuf_append(params_full_imp, prn);
685 if (!dfv && is_empty) 685 if ((!dfv || ftype == EOLIAN_PROP_SET) && is_empty)
686 eina_strbuf_append(params_full_imp, " EINA_UNUSED"); 686 eina_strbuf_append(params_full_imp, " EINA_UNUSED");
687 eina_strbuf_append(params, prn); 687 eina_strbuf_append(params, prn);
688 688