test/shlibloadtest.c: make some variables block local
authorRichard Levitte <levitte@openssl.org>
Fri, 23 Mar 2018 13:18:16 +0000 (14:18 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 23 Mar 2018 13:18:16 +0000 (14:18 +0100)
commit84e68a1bbaa98889cc6c20e9f35f0f96148d9642
tree85bedbb79adeb6e9b187493fbc296915465fe2f9
parentcfaad1713e0dd71851aa281c2f1882d9832c90c4
test/shlibloadtest.c: make some variables block local

myDSO_dsobyaddr and myDSO_free are only used in a narrow block of
code, and can therefore be made local to that block.  Otherwise, some
compilers may warn that they are unused.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5733)
test/shlibloadtest.c