diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2021-08-18 17:27:04 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2021-08-19 16:42:32 +0200 |
commit | 5c4861d312110986b8ba31b88f71174553e71d69 (patch) | |
tree | a2557da0c5aa23aef99921159e0ee3589435dc90 /cmake | |
parent | 37b4c4d82f6bb59546721c4165a69849fd56b9d4 (diff) |
QCborValue: add asserts to encoding method
This patch is inspired by CodeChecker, that is complaining about
possible nullptr dereferencing.
Currently it is a false-positive, because the codepath suggested by
CodeChecker is impossible with current implementation.
But having asserts can save some time in case of possible refactoring.
Task-number: QTBUG-95727
Pick-to: 6.2
Change-Id: I242a23e8aaa249cce16b867c0884dfc3849977f5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions