summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-04-21 21:06:57 +0200
committerMatthias Beyer <mail@beyermatthias.de>2017-04-21 21:08:03 +0200
commit97f5c94ca2e95fb72123a64d3b6da15cc875c1a5 (patch)
treeb2e91897503983e1d3032dc3fd0206be61d2e405
parent58a5153e5f9f25e1367b567390a228a04a219e85 (diff)
downloadimag-97f5c94ca2e95fb72123a64d3b6da15cc875c1a5.zip
imag-97f5c94ca2e95fb72123a64d3b6da15cc875c1a5.tar.gz
Allow unused variables in libimagruby
-rw-r--r--libimagruby/src/entry.rs2
-rw-r--r--libimagruby/src/imag.rs1
-rw-r--r--libimagruby/src/store.rs2
-rw-r--r--libimagruby/src/storeid.rs2
4 files changed, 7 insertions, 0 deletions
diff --git a/libimagruby/src/entry.rs b/libimagruby/src/entry.rs
index ef8d2c2..9c55e72 100644
--- a/libimagruby/src/entry.rs
+++ b/libimagruby/src/entry.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#[allow(unused_variables)]
+
use std::error::Error;
use ruru::{Class, Object, AnyObject, Boolean, RString, VM, Hash, NilClass, VerifiedObject};
diff --git a/libimagruby/src/imag.rs b/libimagruby/src/imag.rs
index e471fcf..8cec75b 100644
--- a/libimagruby/src/imag.rs
+++ b/libimagruby/src/imag.rs
@@ -17,6 +17,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#[allow(unused_variables)]
use std::error::Error;
diff --git a/libimagruby/src/store.rs b/libimagruby/src/store.rs
index 193ac66..cc8a662 100644
--- a/libimagruby/src/store.rs
+++ b/libimagruby/src/store.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#[allow(unused_variables)]
+
use libimagstore::store::Store;
use libimagerror::trace::trace_error;
use std::error::Error;
diff --git a/libimagruby/src/storeid.rs b/libimagruby/src/storeid.rs
index a820064..58a2150 100644
--- a/libimagruby/src/storeid.rs
+++ b/libimagruby/src/storeid.rs
@@ -17,6 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
+#[allow(unused_variables)]
+
use std::path::PathBuf;
use ruru::{Class, Object, AnyObject, Boolean, RString, NilClass, VerifiedObject};