Cleanup extra semi-colons

This commit is contained in:
J-P Nurmi
2015-08-07 21:59:14 +02:00
parent 71fc592bfa
commit e93c37fc6b
3 changed files with 3 additions and 3 deletions

View File

@@ -518,5 +518,5 @@ template<> void TModInfo<CAway>(CModInfo& Info) {
Info.SetArgsHelpText("[ -notimer | -timer N ] passw0rd . N is number of seconds, 600 by default.");
}
NETWORKMODULEDEFS(CAway, "Adds auto-away with logging, useful when you use ZNC from different locations");
NETWORKMODULEDEFS(CAway, "Adds auto-away with logging, useful when you use ZNC from different locations")

View File

@@ -36,7 +36,7 @@ public:
if (sAttempts.empty())
m_uiAllowedFailed = 2;
else
m_uiAllowedFailed = sAttempts.ToUInt();;
m_uiAllowedFailed = sAttempts.ToUInt();
if (sArgs.empty()) {
timeout = 1;

View File

@@ -224,7 +224,7 @@ void CThreadPool::cancelJobs(const std::set<CJob *> &jobs) {
if ((*it)->m_eState != CJob::CANCELLED) {
assert((*it)->m_eState == CJob::DONE);
// Re-set state for the destructor
(*it)->m_eState = CJob::CANCELLED;;
(*it)->m_eState = CJob::CANCELLED;
deleteLater.insert(*it);
wait.erase(it++);
} else