Commit aaf2ee25 authored by Patrick José Pereira's avatar Patrick José Pereira

qjsonwebtoken: Remove unused empty string

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 2064d636
...@@ -45,7 +45,7 @@ bool QJsonWebToken::setHeaderJDoc(QJsonDocument jdocHeader) ...@@ -45,7 +45,7 @@ bool QJsonWebToken::setHeaderJDoc(QJsonDocument jdocHeader)
} }
// check if supported algorithm // check if supported algorithm
QString strAlgorithm = jdocHeader.object().value("alg").toString(""); QString strAlgorithm = jdocHeader.object().value("alg").toString();
if (!isAlgorithmSupported(strAlgorithm)) if (!isAlgorithmSupported(strAlgorithm))
{ {
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment