diff options
author | 2016-01-15 09:23:10 -0800 | |
---|---|---|
committer | 2016-01-17 10:04:48 -0800 | |
commit | 4c0f9f51404c26597aaf4a8b182b7de26e3df9c6 (patch) | |
tree | bdc72c4b3d4864b133b2e9eaba621885f2dc15d3 | |
parent | 02f339e87ab1a864a967a7b7de05bd658f9dbedf (diff) | |
download | paludis-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.cc | 6 | ||||
-rw-r--r-- | ruby/dep_spec.cc | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/ruby/dep_label.cc b/ruby/dep_label.cc index f9e1ba6b9..8dfbf18bf 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 a9e40342c..01f5d63e9 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; |