diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-09-11 09:25:51 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-09-12 11:15:31 +0200 |
commit | 447ee95d5e050c5db1636c5d3bd0edbf59f26108 (patch) | |
tree | 2824b47c84e659b7e1cdc0efcf842cb470545084 /tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp | |
parent | 137cbd1c7200809cc3945c6d4b6deee560cdc9fc (diff) |
QHttpThreadDelegate - remove unneeded code
Found while cleaning up SPDY remains: I've noticed that for H2 case
I never check if incomingSslConfiguration is nullptr or not, but
the code several lines below - does it, which looks kind of moronic.
This configuration is initialized when the delegate is created, so
no need to have this if-statement. Instead, assert, making this
behavior a requirement.
Change-Id: I90fb84337be925a3288252aa2491b4c23d6c6cbb
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp')
0 files changed, 0 insertions, 0 deletions