diff --git a/src/network/access/qhttp2connection.cpp b/src/network/access/qhttp2connection.cpp index d572d4ac7bb..2e7b802f853 100644 --- a/src/network/access/qhttp2connection.cpp +++ b/src/network/access/qhttp2connection.cpp @@ -154,9 +154,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;