summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-06-28 10:58:24 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-06-28 10:58:24 -0300
commit229b363f0103e15e5b8f3958b501a993c7fe254c (patch)
treedcfd39fb41ba1dbeef857d1741dc250aebd14f51
parent4496022a3ca5223baceb11609d7659e1f34d6549 (diff)
csharp: fix some compilation warnings
Fix unused variable warnings in eina_mono and unit test files.
-rw-r--r--src/bindings/mono/eina_mono/eina_value.cs2
-rw-r--r--src/tests/efl_mono/dummy_constructible_object.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bindings/mono/eina_mono/eina_value.cs b/src/bindings/mono/eina_mono/eina_value.cs
index a19d3d449b..898a4966bb 100644
--- a/src/bindings/mono/eina_mono/eina_value.cs
+++ b/src/bindings/mono/eina_mono/eina_value.cs
@@ -732,7 +732,7 @@ static class ValueTypeBridge
732 { 732 {
733 return NativeToManaged[native]; 733 return NativeToManaged[native];
734 } 734 }
735 catch (KeyNotFoundException ex) 735 catch (KeyNotFoundException)
736 { 736 {
737 var name_ptr = eina_value_type_name_get(native); 737 var name_ptr = eina_value_type_name_get(native);
738 var name = Marshal.PtrToStringAnsi(name_ptr); 738 var name = Marshal.PtrToStringAnsi(name_ptr);
diff --git a/src/tests/efl_mono/dummy_constructible_object.c b/src/tests/efl_mono/dummy_constructible_object.c
index 870895066c..ec4d22de60 100644
--- a/src/tests/efl_mono/dummy_constructible_object.c
+++ b/src/tests/efl_mono/dummy_constructible_object.c
@@ -69,7 +69,7 @@ _dummy_constructible_object_internal_object_get(const Eo *obj EINA_UNUSED, Dummy
69 69
70 70
71EOLIAN static int 71EOLIAN static int
72_dummy_constructible_object_multiply_integer_value(const Eo *obj EINA_UNUSED, Dummy_Constructible_Object_Data *pd, int v) 72_dummy_constructible_object_multiply_integer_value(const Eo *obj EINA_UNUSED, Dummy_Constructible_Object_Data *pd EINA_UNUSED, int v)
73{ 73{
74 return 2 * v; 74 return 2 * v;
75} 75}