Skip to content

Commit

Permalink
Fix unused variable warning in release
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson committed Sep 26, 2024
1 parent f7c7b7f commit 1a54769
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/high_level.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::ckb_constants::*;
use crate::debug;
use crate::error::SysError;
use crate::syscalls;
use alloc::{ffi::CString, string::String, vec, vec::Vec};
Expand Down Expand Up @@ -567,8 +566,7 @@ impl<T, F: Fn(usize, Source) -> Result<T, SysError>> Iterator for QueryIter<F> {
}
Err(SysError::IndexOutOfBound) => None,
Err(err) => {
debug!("QueryIter error {:?}", err);
panic!("QueryIter query_fn return an error")
panic!("QueryIter error {:?}", err);
}
}
}
Expand Down

0 comments on commit 1a54769

Please sign in to comment.