xartigas pushed a commit to branch master.

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

commit 8fa3f39e3113f3d50cad96d01fbbe48b491fc07e
Author: Lauro Moura <[email protected]>
Date:   Fri Dec 21 16:04:43 2018 +0100

    efl-mono: Remove warnings
    
    Test Plan: run tests
    
    Reviewers: segfaultxavi
    
    Reviewed By: segfaultxavi
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D7501
---
 src/bin/eolian_mono/eolian/mono/function_definition.hh | 4 ++--
 src/bin/eolian_mono/eolian/mono/name_helpers.hh        | 4 ++--
 src/tests/efl_mono/libefl_mono_native_test.c           | 7 -------
 3 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/src/bin/eolian_mono/eolian/mono/function_definition.hh 
b/src/bin/eolian_mono/eolian/mono/function_definition.hh
index 756136007c..b0e2e5ea3c 100644
--- a/src/bin/eolian_mono/eolian/mono/function_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/function_definition.hh
@@ -213,8 +213,8 @@ struct property_wrapper_definition_generator
         return true;
 
       bool interface = 
context_find_tag<class_context>(context).current_wrapper_kind == 
class_context::interface;
-      bool is_static = (property.getter.is_engaged() && 
property.getter->is_static
-                       || property.setter.is_engaged() && 
property.setter->is_static);
+      bool is_static = (property.getter.is_engaged() && 
property.getter->is_static)
+                       || (property.setter.is_engaged() && 
property.setter->is_static);
 
 
       if (interface && is_static)
diff --git a/src/bin/eolian_mono/eolian/mono/name_helpers.hh 
b/src/bin/eolian_mono/eolian/mono/name_helpers.hh
index d953a09f9a..05e1e4a7ac 100644
--- a/src/bin/eolian_mono/eolian/mono/name_helpers.hh
+++ b/src/bin/eolian_mono/eolian/mono/name_helpers.hh
@@ -329,9 +329,9 @@ struct klass_full_concrete_or_interface_name_generator
     case attributes::class_type::abstract_:
     case attributes::class_type::regular:
       return klass_full_concrete_name(klass);
+    default:
+      return klass_full_interface_name(klass);
     }
-    return klass_full_interface_name(klass);
-
   }
 
   template <typename OutputIterator, typename Context>
diff --git a/src/tests/efl_mono/libefl_mono_native_test.c 
b/src/tests/efl_mono/libefl_mono_native_test.c
index b8f3361854..a861f7ba48 100644
--- a/src/tests/efl_mono/libefl_mono_native_test.c
+++ b/src/tests/efl_mono/libefl_mono_native_test.c
@@ -3904,13 +3904,6 @@ int 
_dummy_test_object_dummy_test_iface_iface_prop_get(EINA_UNUSED const Eo *obj
 }
 
 /// Dummy.Child
-static Efl_Object *
-_dummy_child_efl_object_constructor(Eo *obj, EINA_UNUSED Dummy_Child_Data *pd)
-{
-    efl_constructor(efl_super(obj, DUMMY_CHILD_CLASS));
-    return obj;
-}
-
 EOLIAN static void
 _dummy_child_class_constructor(Efl_Class *klass)
 {

-- 


Reply via email to