Skip to content

Commit 40e477e

Browse files
committed
unused variable
1 parent 1a8e615 commit 40e477e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/imex.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ pub async fn has_backup(_context: &Context, dir_name: &Path) -> Result<String> {
140140
}
141141

142142
async fn set_self_key(context: &Context, armored: &str) -> Result<()> {
143-
// try hard to only modify key-state
144-
let (private_key, header) = SignedSecretKey::from_asc(armored)?;
143+
let (private_key, _header) = SignedSecretKey::from_asc(armored)?;
145144
let public_key = private_key.split_public_key()?;
146145

147146
let keypair = pgp::KeyPair {

0 commit comments

Comments
 (0)