aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2015-03-02 19:13:32 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2015-03-02 19:13:32 -0800
commit68b75f315bcd069e5ec39b6276e3c32a3fc5d195 (patch)
tree2ce6706ccb98a0d100612c51517b37abffa411e0
parent96768e54e2fdfc526edd2e939f20203e43b25a36 (diff)
downloadpaludis-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.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/ruby/action.cc b/ruby/action.cc
index ed3b9bd..3b6d6b8 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)
{