summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-04-22 11:19:42 +0200
committerGitHub <noreply@github.com>2017-04-22 11:19:42 +0200
commit63faf06bc2774ac309c3783a8eefb286de30e570 (patch)
treeb2e91897503983e1d3032dc3fd0206be61d2e405
parente615ec040f57b9b4b20f58d623fe32b0e6588257 (diff)
parent97f5c94ca2e95fb72123a64d3b6da15cc875c1a5 (diff)
downloadimag-63faf06bc2774ac309c3783a8eefb286de30e570.zip
imag-63faf06bc2774ac309c3783a8eefb286de30e570.tar.gz
Merge pull request #918 from matthiasbeyer/fix-warnings
Fix warnings
-rw-r--r--libimagruby/src/entry.rs3
-rw-r--r--libimagruby/src/imag.rs1
-rw-r--r--libimagruby/src/store.rs2
-rw-r--r--libimagruby/src/storeid.rs2
-rw-r--r--libimagstore/src/store.rs1
5 files changed, 7 insertions, 2 deletions
diff --git a/libimagruby/src/entry.rs b/libimagruby/src/entry.rs
index aa83e6a..9c55e72 100644
--- a/libimagruby/src/entry.rs
+++ b/libimagruby/src/entry.rs
@@ -17,7 +17,8 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
-use std::collections::BTreeMap;
+#[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};
diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs
index 9bb1aff..4896e57 100644
--- a/libimagstore/src/store.rs
+++ b/libimagstore/src/store.rs
@@ -1948,7 +1948,6 @@ aspect = "test"
fn test_hook_execution(hook_positions: &[HP], storeid_name: &str) {
let mut store = get_store_with_config();
- let pos = HP::PreCreate;
println!("Registering hooks...");
for pos in hook_positions {