summaryrefslogtreecommitdiffstats
path: root/src/corelib/serialization/qcborstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/serialization/qcborstream.cpp')
-rw-r--r--src/corelib/serialization/qcborstream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/serialization/qcborstream.cpp b/src/corelib/serialization/qcborstream.cpp
index 04c8da15aa..3cc725e111 100644
--- a/src/corelib/serialization/qcborstream.cpp
+++ b/src/corelib/serialization/qcborstream.cpp
@@ -2769,7 +2769,7 @@ QCborStreamReader::readStringChunk(char *ptr, qsizetype maxlen)
{
CborError err;
size_t len;
- const void *content;
+ const void *content = nullptr;
QCborStreamReader::StringResult<qsizetype> result;
result.data = 0;
result.status = Error;