aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-01-15 09:23:10 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-01-17 10:04:48 -0800
commit4c0f9f51404c26597aaf4a8b182b7de26e3df9c6 (patch)
treebdc72c4b3d4864b133b2e9eaba621885f2dc15d3
parent02f339e87ab1a864a967a7b7de05bd658f9dbedf (diff)
downloadpaludis-4c0f9f51404c26597aaf4a8b182b7de26e3df9c6.tar.gz
paludis-4c0f9f51404c26597aaf4a8b182b7de26e3df9c6.tar.xz
ruby: remove a couple of unused functions
Identified by gcc -Wunused-functions.
-rw-r--r--ruby/dep_label.cc6
-rw-r--r--ruby/dep_spec.cc6
2 files changed, 0 insertions, 12 deletions
diff --git a/ruby/dep_label.cc b/ruby/dep_label.cc
index f9e1ba6..8dfbf18 100644
--- a/ruby/dep_label.cc
+++ b/ruby/dep_label.cc
@@ -213,12 +213,6 @@ namespace
return rb_str_new2((*ptr)->text().c_str());
}
- VALUE
- empty_init(int, VALUE *, VALUE self)
- {
- return self;
- }
-
void do_register_dep_label()
{
/*
diff --git a/ruby/dep_spec.cc b/ruby/dep_spec.cc
index a9e4034..01f5d63 100644
--- a/ruby/dep_spec.cc
+++ b/ruby/dep_spec.cc
@@ -440,12 +440,6 @@ namespace
}
VALUE
- package_dep_spec_init(int, VALUE *, VALUE self)
- {
- return self;
- }
-
- VALUE
uri_labels_dep_spec_labels(VALUE self)
{
std::shared_ptr<WrappedSpecBase> * ptr;