summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-04-20 15:33:59 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-04-20 17:44:57 +0900
commitbcf3ce84289ad4c91e89d6f5c3c9167af60036f3 (patch)
treed22ab98afccd2f5570aec74fd7957547c2011025 /src/examples/eolian_cxx
parenta71b770bbc848bff2231bac1e75bf2a85885aca5 (diff)
examples: Fix most trivial warnings
This fixes all warnings for "make examples" for: -Wunused-parameter -Wshadow -Wformat-security -Wenum-conversion Some remaining warnings include: -Wdeprecated-delcarations
Diffstat (limited to 'src/examples/eolian_cxx')
-rw-r--r--src/examples/eolian_cxx/colourable.c2
-rw-r--r--src/examples/eolian_cxx/colourablesquare.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/eolian_cxx/colourable.c b/src/examples/eolian_cxx/colourable.c
index 141bd55..001665f 100644
--- a/src/examples/eolian_cxx/colourable.c
+++ b/src/examples/eolian_cxx/colourable.c
@@ -51,7 +51,7 @@ _ns_colourable_efl_object_destructor(Eo *obj, Colourable_Data *self EINA_UNUSED)
51} 51}
52 52
53void 53void
54_ns_colourable_rgb_24bits_constructor(Eo *obj, Colourable_Data *self, int rgb) 54_ns_colourable_rgb_24bits_constructor(Eo *obj EINA_UNUSED, Colourable_Data *self, int rgb)
55{ 55{
56 if(!_ns_colourable_impl_logdomain) 56 if(!_ns_colourable_impl_logdomain)
57 { 57 {
diff --git a/src/examples/eolian_cxx/colourablesquare.c b/src/examples/eolian_cxx/colourablesquare.c
index f67d3e2..a6ea213 100644
--- a/src/examples/eolian_cxx/colourablesquare.c
+++ b/src/examples/eolian_cxx/colourablesquare.c
@@ -25,7 +25,7 @@ struct _ColourableSquare_Data
25typedef struct _ColourableSquare_Data ColourableSquare_Data; 25typedef struct _ColourableSquare_Data ColourableSquare_Data;
26 26
27static void 27static void
28_ns_colourablesquare_size_constructor(Eo *obj, ColourableSquare_Data *self, int size) 28_ns_colourablesquare_size_constructor(Eo *obj EINA_UNUSED, ColourableSquare_Data *self, int size)
29{ 29{
30 if(!_ns_colourablesquare_impl_logdomain) 30 if(!_ns_colourablesquare_impl_logdomain)
31 { 31 {