diff options
author | 2015-03-02 19:13:32 -0800 | |
---|---|---|
committer | 2015-03-02 19:13:32 -0800 | |
commit | 68b75f315bcd069e5ec39b6276e3c32a3fc5d195 (patch) | |
tree | 2ce6706ccb98a0d100612c51517b37abffa411e0 | |
parent | 96768e54e2fdfc526edd2e939f20203e43b25a36 (diff) | |
download | paludis-68b75f315bcd069e5ec39b6276e3c32a3fc5d195.tar.gz paludis-68b75f315bcd069e5ec39b6276e3c32a3fc5d195.tar.xz |
ruby: remove unused conversion function
The conversion function was unused by the bindings. NFC.
-rw-r--r-- | ruby/action.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ruby/action.cc b/ruby/action.cc index ed3b9bdc0..3b6d6b80f 100644 --- a/ruby/action.cc +++ b/ruby/action.cc @@ -175,21 +175,6 @@ namespace } } - const FetchActionFailure - value_to_fetch_action_failure(VALUE v) - { - if (rb_obj_is_kind_of(v, c_fetch_action_failure)) - { - FetchActionFailure * v_ptr; - Data_Get_Struct(v, FetchActionFailure, v_ptr); - return *v_ptr; - } - else - { - rb_raise(rb_eTypeError, "Can't convert %s into FetchActionFailure", rb_obj_classname(v)); - } - } - VALUE empty_init(int, VALUE *, VALUE self) { |