BUILD/MINOR: ssl: fix compiler warning about useless statement
authorEric Salama <esalama@haproxy.com>
Wed, 20 Nov 2019 10:33:40 +0000 (11:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Nov 2019 12:49:21 +0000 (13:49 +0100)
commit3c8bde88ca0c189536db741ab6f6de0b4a4fe15d
tree406fea8f0647cc39533879ee03458ac46c92ce97
parent3585cab22174baea6367526e79585f6115c8b3d5
BUILD/MINOR: ssl: fix compiler warning about useless statement

There is a compiler warning after commit a9363eb6 ("BUG/MEDIUM: ssl:
'tune.ssl.default-dh-param' value ignored with openssl > 1.1.1"):

src/ssl_sock.c: In function 'ssl_sock_prepare_ctx':
src/ssl_sock.c:4481:4: error: statement with no effect [-Werror=unused-value]

Fix it by adding a (void)
src/ssl_sock.c