diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2016-08-24 14:47:58 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2016-08-25 07:59:21 +0000 |
| commit | 32fbcf71eef42a5f5f08400b469baddb1fcba10a (patch) | |
| tree | 1bf5fd57ca02a01089179d8a0494a184ce0d92dc /qmake/generators/unix/unixmake.cpp | |
| parent | 0b3509d85da168780ec8b2daf928c801d80ebe0a (diff) | |
tst_qnetworkreply: restructure #if-ery round a condition
If SSL was unavailable but requested (should never happen)
MiniHttpServer::incomingConnection() would have crashed on
dereferencing unset member client. Rework the run-time conditioning
on SSL to sit entirely inside the #if-ery on SSL support, so that
client is at least set in each code-path.
Change-Id: I9a8ee8e4186e16dd0d00b7f9cc9b988f0b4c62ff
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Diffstat (limited to 'qmake/generators/unix/unixmake.cpp')
0 files changed, 0 insertions, 0 deletions
