mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 14:00:08 +00:00
Fix some Clang static analysis warnings
This commit is contained in:
1 parent
76d99cd60e
commit
a4ad58d9ec
3 files changed
+7
-7
No files matched your search
@@ -21,7 +21,7 @@ NvPairingManager::NvPairingManager(QString address) :
|
||||
BIO_free_all(bio);
|
||||
if (m_Cert == nullptr)
|
||||
{
|
||||
throw new std::runtime_error("Unable to load certificate");
|
||||
throw std::runtime_error("Unable to load certificate");
|
||||
}
|
||||
|
||||
QByteArray pk = IdentityManager::get()->getPrivateKey();
|
||||
@@ -32,7 +32,7 @@ NvPairingManager::NvPairingManager(QString address) :
|
||||
BIO_free_all(bio);
|
||||
if (m_PrivateKey == nullptr)
|
||||
{
|
||||
throw new std::runtime_error("Unable to load private key");
|
||||
throw std::runtime_error("Unable to load private key");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user