Fix (deliberately) unused variable warning in rsa-ltm.c
commit9ffbc17a0f9921717ea55c59532ed74d22758217
authorAndrew Bartlett <abartlet@samba.org>
Thu, 28 May 2020 08:04:24 +0000 (28 20:04 +1200)
committerJeffrey Altman <jaltman@auristor.com>
Thu, 28 May 2020 15:10:57 +0000 (28 11:10 -0400)
treec60a146e2775ebfad4c95bfd7fe0f68ddbde8f1f
parent261015c918293a42410900bc10ad71ca953b2a2a
Fix (deliberately) unused variable warning in rsa-ltm.c

Seen on Ubuntu 18.04 with
gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
giving:

rsa-ltm.c: In function ‘ltm_rsa_private_calculate’:
rsa-ltm.c:135:9: error: variable ‘where’ set but not used [-Werror=unused-but-set-variable]
     int where = 0; /* Ignore the set-but-unused warning from this */
         ^~~~~
rsa-ltm.c: In function ‘gen_p’:
rsa-ltm.c:482:9: error: variable ‘where’ set but not used [-Werror=unused-but-set-variable]
     int where = 0; /* Ignore the set-but-unused warning from this */
         ^~~~~

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
.travis.yml
lib/hcrypto/rsa-ltm.c