Skip to content

Commit

Permalink
fixing warnings WIP(2)
Browse files Browse the repository at this point in the history
  • Loading branch information
valdok committed Mar 27, 2024
1 parent 3edaee8 commit 67760c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cosmwasm/enclaves/execute/src/registration/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ use enclave_ffi_types::NodeAuthResult;

use super::cert::{get_ias_auth_config, get_netscape_comment};

#[cfg(feature = "test")]
use sgx_types::sgx_quote_t;

#[derive(Debug)]
pub enum Error {
ReportParseError,
Expand Down
2 changes: 1 addition & 1 deletion cosmwasm/enclaves/shared/utils/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub fn unseal_file_from_2_17(

let mut fname0: usize = 0;
for (i, ch) in raw_path.iter().enumerate() {
if *ch == b'/' as u8 {
if *ch == b'/' {
fname0 = i + 1;
}
}
Expand Down

0 comments on commit 67760c1

Please sign in to comment.