diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-08 14:19:05 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2022-09-08 14:19:05 +0900 |
commit | 37dc9f8fd00a3aff175f34f094557899207d7ef8 (patch) | |
tree | cb75bf90ea3a6ac854280ed33d94bdba7bff9479 /cipher | |
parent | 10d9878dd84fe89a598b6d5ac313869e5f8ffdae (diff) | |
download | libgcrypt-37dc9f8fd00a3aff175f34f094557899207d7ef8.tar.gz |
Silence compiler warnings for unused internal value.
* cipher/primegen.c (gen_prime): Fix write only variable.
* src/dumpsexp.c (parse_and_print): Likewise.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'cipher')
-rw-r--r-- | cipher/primegen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cipher/primegen.c b/cipher/primegen.c index e24de4dc..25ebaf26 100644 --- a/cipher/primegen.c +++ b/cipher/primegen.c @@ -752,6 +752,8 @@ gen_prime (unsigned int nbits, int secret, int randomlevel, unsigned int count1, count2; int *mods; + (void)count1; /* The value is not used, actually. */ + /* if ( DBG_CIPHER ) */ /* log_debug ("generate a prime of %u bits ", nbits ); */ |