From 262271983335160318872e2281db8c9925201cdc Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sun, 13 Mar 2022 01:12:14 +0100 Subject: Remove unused non-trivial variables Many unused QString/QByteArray not recognized as such by normal compiler warnings. --- src/base/QXmppRpcIq.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/base/QXmppRpcIq.cpp') diff --git a/src/base/QXmppRpcIq.cpp b/src/base/QXmppRpcIq.cpp index f2861ea5..bfee0f16 100644 --- a/src/base/QXmppRpcIq.cpp +++ b/src/base/QXmppRpcIq.cpp @@ -136,8 +136,6 @@ QVariant QXmppRpcMarshaller::demarshall(const QDomElement &elem, QStringList &er } return QVariant(stct); } else if (typeName == QStringLiteral("base64")) { - QVariant returnVariant; - QByteArray dest; QByteArray src = typeData.text().toLatin1(); return QVariant(QByteArray::fromBase64(src)); } -- cgit v1.2.3