cleanup:Limit the scope of dead_code in v3
Test: m libapkverity
Change-Id: Idd1605608da8aec13ea4b178f3032678b338185d
diff --git a/libs/apkverify/src/v3.rs b/libs/apkverify/src/v3.rs
index 0c20a2e..4c49319 100644
--- a/libs/apkverify/src/v3.rs
+++ b/libs/apkverify/src/v3.rs
@@ -16,9 +16,6 @@
//! Verifies APK Signature Scheme V3
-// TODO(jooyung) remove this
-#![allow(dead_code)]
-
use anyhow::{anyhow, bail, ensure, Context, Result};
use bytes::Bytes;
use openssl::hash::MessageDigest;
@@ -63,6 +60,7 @@
certificates: LengthPrefixed<Vec<LengthPrefixed<X509Certificate>>>,
min_sdk: u32,
max_sdk: u32,
+ #[allow(dead_code)]
additional_attributes: LengthPrefixed<Vec<LengthPrefixed<AdditionalAttributes>>>,
}