From 97f5c94ca2e95fb72123a64d3b6da15cc875c1a5 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 21 Apr 2017 21:06:57 +0200 Subject: [PATCH] Allow unused variables in libimagruby --- libimagruby/src/entry.rs | 2 ++ libimagruby/src/imag.rs | 1 + libimagruby/src/store.rs | 2 ++ libimagruby/src/storeid.rs | 2 ++ 4 files changed, 7 insertions(+) diff --git a/libimagruby/src/entry.rs b/libimagruby/src/entry.rs index ef8d2c21..9c55e72d 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 e471fcff..8cec75ba 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 193ac664..cc8a6626 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 a8200649..58a21501 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};