Merge pull request #918 from matthiasbeyer/fix-warnings

Fix warnings
This commit is contained in:
Matthias Beyer 2017-04-22 11:19:42 +02:00 committed by GitHub
commit 63faf06bc2
5 changed files with 7 additions and 2 deletions

View file

@ -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};

View file

@ -17,6 +17,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//
#[allow(unused_variables)]
use std::error::Error;

View file

@ -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;

View file

@ -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};

View file

@ -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 {