ruby bindings: Fix a compiler warning.
bindings/ruby/classes_wrap.cpp:10481:1: warning: control may reach end of non-void function [-Wreturn-type]
This commit is contained in:
parent
35334baa90
commit
6324805018
|
@ -113,6 +113,7 @@ static VALUE variant_to_ruby(Glib::VariantBase variant)
|
|||
} else {
|
||||
SWIG_exception(SWIG_TypeError, ("TODO: GVariant(" + variant.get_type().get_string() + ") -> Ruby").c_str());
|
||||
}
|
||||
return 0; /* Dummy, to avoid a compiler warning. */
|
||||
}
|
||||
%}
|
||||
|
||||
|
|
Loading…
Reference in New Issue