eo_cxx: Fix unused parameter warning when no constructor is required
authorVitor Sousa <vitorsousasilva@gmail.com>
Tue, 8 Mar 2016 13:28:33 +0000 (10:28 -0300)
committerVitor Sousa <vitorsousasilva@gmail.com>
Tue, 8 Mar 2016 13:49:36 +0000 (10:49 -0300)
Test Plan: compile elm

Reviewers: stefan_schmidt

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3778

src/bindings/eo_cxx/eo_cxx_interop.hh

index cbfa1a2..18af392 100644 (file)
@@ -476,6 +476,7 @@ void call_ctors(Eo* _obj_eoid, Fs&&... fs)
 {
    std::initializer_list<int const> const v {(fs(_obj_eoid), 0)...};
    (void) v;
+   (void) _obj_eoid;
 }
 
 } } // namespace efl { namespace eolian {