lint using clang11

This commit is contained in:
Nicolas Werner 2021-10-17 17:33:59 +02:00
parent 6793bdf3fd
commit 2981f71d22
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
3 changed files with 6 additions and 16 deletions

View File

@ -631,8 +631,8 @@ DeviceVerificationFlow::sendVerificationRequest()
req.to = this->toClient.to_string();
req.msgtype = "m.key.verification.request";
req.body = "User is requesting to verify keys with you. However, your client does "
"not support this method, so you will need to use the legacy method of "
"key verification.";
"not support this method, so you will need to use the legacy method of "
"key verification.";
}
send(req);

View File

@ -100,16 +100,10 @@ NotificationsManager::systemPostNotification(const QString &line1,
WinToast::instance()->showToast(templ, new CustomHandler());
}
void
NotificationsManager::actionInvoked(uint, QString)
{}
void
NotificationsManager::notificationReplied(uint, QString)
{}
void NotificationsManager::actionInvoked(uint, QString) {}
void NotificationsManager::notificationReplied(uint, QString) {}
void
NotificationsManager::notificationClosed(uint, uint)
{}
void NotificationsManager::notificationClosed(uint, uint) {}
void
NotificationsManager::removeNotification(const QString &, const QString &)

View File

@ -1114,11 +1114,7 @@ WebRTCSession::haveLocalPiP() const
return false;
}
bool
WebRTCSession::createOffer(webrtc::CallType, uint32_t)
{
return false;
}
bool WebRTCSession::createOffer(webrtc::CallType, uint32_t) { return false; }
bool
WebRTCSession::acceptOffer(const std::string &)