summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qauthenticator.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-03-03 17:16:37 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-03-03 23:41:25 +0100
commit6e334a85a82f1fedc39f54511a9d1b0c7b512d5b (patch)
tree67f9812f41c74d2781da829d57a7112eb28c1e31 /src/network/kernel/qauthenticator.cpp
parent90b51219ddc75c4dd2d171f2dba644e67d1e4a62 (diff)
QHostInfo: simplify assignment operator
The d_ptr is never nullptr. If it could be, then other's d_ptr could also be nullptr, and we would dereference the null pointer. Guarding against self-assignment is nevertheless a good practice. Fixes static analyzer warning 5fc3780532e30c6350a0aa1ad2188a4c. Pick-to: 6.1 Change-Id: I07ff808e4c4f5bf07b4d6663f1fb4a3301a0fec7 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/network/kernel/qauthenticator.cpp')
0 files changed, 0 insertions, 0 deletions