diff --git a/src/network/access/qhttp2connection.cpp b/src/network/access/qhttp2connection.cpp index 1ce25a444a..59753f7d99 100644 --- a/src/network/access/qhttp2connection.cpp +++ b/src/network/access/qhttp2connection.cpp @@ -316,9 +316,6 @@ void QHttp2Stream::internalSendDATA() return m_uploadByteDevice->readPointer(requestSize, tmp) != nullptr && tmp > 0; }; - constexpr qint32 StackBufferSize = 4096; - QVarLengthArray intermediateBuffer; - bool sentEND_STREAM = false; while (remainingWindowSize && deviceCanRead()) { quint32 bytesWritten = 0;