]> git.ipfire.org Git - thirdparty/openssl.git/commit
RT4347: Fix GCC unused-value warnings with HOST_c2l()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 25 Feb 2016 23:19:06 +0000 (23:19 +0000)
committerRich Salz <rsalz@openssl.org>
Tue, 1 Mar 2016 17:10:18 +0000 (12:10 -0500)
commit09977dd095f3c655c99b9e1810a213f7eafa7364
tree1d0e769c39fc50b51d6197deb6b684f25ee96bf8
parent0f97a12112bf748474662080848f75804a8fddc4
RT4347: Fix GCC unused-value warnings with HOST_c2l()

The HOST_c2l() macro assigns the value to the specified variable, but also
evaluates to the same value. Which we ignore, triggering a warning.

To fix this, just cast it to void like we did in commit 08e553644
("Fix some clang warnings.") for a bunch of other instances.

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Andy Polyakov <appro@openssl.org>
crypto/md5/md5_dgst.c
crypto/sha/sha256.c
crypto/sha/sha_locl.h