Remove the Receiver struct from qnetworkaccesscache.cpp
Found this by an Axivion warning: "Compiler-generated constructor leaves some fields uninitialized." but it seems that this struct is not used anywhere else, so instead of initializing the member variable just remove the struct. Task-number: QTBUG-125026 Pick-to: 6.7 6.5 Change-Id: I09bb8936241ece148debbd572c8441dc9d998ff9 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> (cherry picked from commit a427e75d826c40cf3d39683bb7bd63126f00329f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
22c5f8974c
commit
bfd7fce59c
@ -18,14 +18,6 @@ enum ExpiryTimeEnum {
|
|||||||
ExpiryTime = 120
|
ExpiryTime = 120
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace {
|
|
||||||
struct Receiver
|
|
||||||
{
|
|
||||||
QPointer<QObject> object;
|
|
||||||
const char *member;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
// idea copied from qcache.h
|
// idea copied from qcache.h
|
||||||
struct QNetworkAccessCache::Node
|
struct QNetworkAccessCache::Node
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user