summaryrefslogtreecommitdiffstats
path: root/src/corelib/serialization/qcborstream.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-07-08 10:34:27 -0700
committerThiago Macieira <thiago.macieira@intel.com>2018-07-14 04:20:32 +0000
commit503646a3317c1041fb5ded803a3935ef330ea036 (patch)
tree4e65e04b1ff213b76f9ba917ade49580a787a73d /src/corelib/serialization/qcborstream.cpp
parent6fd98af332e405e63f040d0312bf8aba5ade4e29 (diff)
QCborValue: Silence Coverity warning about null-pointer dereference
It's a false positive, since we've checked that the item HasByteData. But it's cheap to rewrite so the warning is silenced. >>> CID 190741: Null pointer dereferences (NULL_RETURNS) >>> Dereferencing a null pointer "this->byteData(idx)". Change-Id: If48c5c2e920c433298f1fffd153f7534be42a30b Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/serialization/qcborstream.cpp')
0 files changed, 0 insertions, 0 deletions