diff options
-rw-r--r-- | src/corelib/tools/qbytearray.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/tools/qbytearray.cpp b/src/corelib/tools/qbytearray.cpp index 472da9b3d1..c8f0447739 100644 --- a/src/corelib/tools/qbytearray.cpp +++ b/src/corelib/tools/qbytearray.cpp @@ -1459,7 +1459,6 @@ void QByteArray::reallocData(uint alloc, bool grow) Data *x = static_cast<Data *>(::realloc(d, sizeof(Data) + alloc)); Q_CHECK_PTR(x); x->alloc = alloc; - x->offset = sizeof(QByteArrayData); d = x; } } |