Skip to content

Commit adfa502

Browse files
committed
Fix warnings
1 parent 7adac2c commit adfa502

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

examples/authentication/ta/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ pub fn decrypt_final(digest: &mut AEOp, params: &mut Parameters) -> Result<()> {
161161

162162
match digest.op.decrypt_final(&clear, &mut ciph, &tag) {
163163
Err(e) => Err(e),
164-
Ok((_clear_len)) => {
164+
Ok(_clear_len) => {
165165
p0.buffer().copy_from_slice(&clear);
166166
p1.buffer().copy_from_slice(&ciph);
167167
p2.buffer().copy_from_slice(&tag);

examples/diffie_hellman/ta/src/main.rs

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
#![no_main]
1919

20-
use optee_utee::BigInt;
2120
use optee_utee::{
2221
ta_close_session, ta_create, ta_destroy, ta_invoke_command, ta_open_session, trace_println,
2322
};

examples/random/host/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
use optee_teec::{Context, Operation, ParamNone, ParamTmpRef, ParamType, Session, Uuid};
18+
use optee_teec::{Context, Operation, ParamNone, ParamTmpRef, Session, Uuid};
1919
use proto::{Command, UUID};
2020

2121
fn random(session: &mut Session) -> optee_teec::Result<()> {

examples/secure_storage/host/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
use optee_teec::{Context, ErrorKind, Operation, ParamNone, ParamTmpRef, ParamType, Session, Uuid};
18+
use optee_teec::{Context, ErrorKind, Operation, ParamNone, ParamTmpRef, Session, Uuid};
1919
use proto::{Command, UUID};
2020
use std::ffi::CString;
2121

examples/serde/host/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
use optee_teec::{Context, Operation, ParamNone, ParamTmpRef, ParamType, Session, Uuid};
18+
use optee_teec::{Context, Operation, ParamNone, ParamTmpRef, Session, Uuid};
1919
use serde::Deserialize;
2020
use proto::{UUID, Command};
2121

0 commit comments

Comments
 (0)