Skip to content

Commit

Permalink
Fix set but not used.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarske committed Aug 19, 2024
1 parent a1f575f commit 7568cf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tpm2_wrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2242,12 +2242,12 @@ static int SensitiveToPrivate(TPM2B_SENSITIVE* sens, TPM2B_PRIVATE* priv,
#else
(void)sensitiveData;
(void)name;
(void)symKey;
rc = NOT_COMPILED_IN;
#endif
}

#else
rc = NOT_COMPILED_IN;
(void)sens;
(void)priv;
(void)nameAlg;
Expand All @@ -2256,6 +2256,7 @@ static int SensitiveToPrivate(TPM2B_SENSITIVE* sens, TPM2B_PRIVATE* priv,
(void)sym;
(void)symSeed;
(void)useIv;
rc = NOT_COMPILED_IN;
#endif
return rc;
}
Expand Down

0 comments on commit 7568cf9

Please sign in to comment.