From e93c37fc6b5fd58d3e642d2bfae5b52e4673a958 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Fri, 7 Aug 2015 21:59:14 +0200 Subject: [PATCH] Cleanup extra semi-colons --- modules/awaystore.cpp | 2 +- modules/fail2ban.cpp | 2 +- src/Threads.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/awaystore.cpp b/modules/awaystore.cpp index 1a706641..b0347737 100644 --- a/modules/awaystore.cpp +++ b/modules/awaystore.cpp @@ -518,5 +518,5 @@ template<> void TModInfo(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") diff --git a/modules/fail2ban.cpp b/modules/fail2ban.cpp index ff3a90d1..caa3c400 100644 --- a/modules/fail2ban.cpp +++ b/modules/fail2ban.cpp @@ -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; diff --git a/src/Threads.cpp b/src/Threads.cpp index baa2d162..9197d620 100644 --- a/src/Threads.cpp +++ b/src/Threads.cpp @@ -224,7 +224,7 @@ void CThreadPool::cancelJobs(const std::set &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