kpty: remove unused QByteArray object

build with clang v14, -Wall in CXXFLAGS and still got not warning for
it being unused

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-12-08 01:53:59 +02:00
parent b0b0f528da
commit b4017ba41a

View file

@ -75,7 +75,6 @@ public:
void clear()
{
buffers.clear();
QByteArray tmp;
buffers << QByteArray(CHUNKSIZE, char('\0'));
head = tail = 0;
totalSize = 0;