From 0cc9af6bee3105e23caf78bcdf4653f013ebb4cb Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 24 Jan 2018 12:07:52 +0100 Subject: [PATCH] Remove duplicate semicolons --- lib/base/exception.cpp | 2 +- lib/base/threadpool.cpp | 2 +- lib/icinga/macroprocessor.cpp | 2 +- lib/remote/apiclient.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/base/exception.cpp b/lib/base/exception.cpp index 51320f5a3..b74a0a6c1 100644 --- a/lib/base/exception.cpp +++ b/lib/base/exception.cpp @@ -303,7 +303,7 @@ DebugInfo ScriptError::GetDebugInfo() const bool ScriptError::IsIncompleteExpression() const { - return m_IncompleteExpr;; + return m_IncompleteExpr; } bool ScriptError::IsHandledByDebugger() const diff --git a/lib/base/threadpool.cpp b/lib/base/threadpool.cpp index cfee1f98e..996931d00 100644 --- a/lib/base/threadpool.cpp +++ b/lib/base/threadpool.cpp @@ -122,7 +122,7 @@ void ThreadPool::WorkerThread::ThreadProc(Queue& queue) UpdateUtilization(ThreadBusy); } - double st = Utility::GetTime();; + double st = Utility::GetTime(); #ifdef I2_DEBUG # ifdef RUSAGE_THREAD diff --git a/lib/icinga/macroprocessor.cpp b/lib/icinga/macroprocessor.cpp index 7fc150d94..1c488ac24 100644 --- a/lib/icinga/macroprocessor.cpp +++ b/lib/icinga/macroprocessor.cpp @@ -48,7 +48,7 @@ Value MacroProcessor::ResolveMacros(const Value& str, const ResolverList& resolv result = InternalResolveMacros(str, resolvers, cr, missingMacro, escapeFn, resolvedMacros, useResolvedMacros, recursionLevel + 1); } else if (str.IsObjectType()) { - ArrayData resultArr;; + ArrayData resultArr; Array::Ptr arr = str; ObjectLock olock(arr); diff --git a/lib/remote/apiclient.cpp b/lib/remote/apiclient.cpp index e5a98fceb..b0d0a63da 100644 --- a/lib/remote/apiclient.cpp +++ b/lib/remote/apiclient.cpp @@ -81,7 +81,7 @@ void ApiClient::TypesHttpCompletionCallback(HttpRequest& request, HttpResponse& ObjectLock olock(results); for (const Dictionary::Ptr typeInfo : results) { - ApiType::Ptr type = new ApiType();; + ApiType::Ptr type = new ApiType(); type->Abstract = typeInfo->Get("abstract"); type->BaseName = typeInfo->Get("base"); type->Name = typeInfo->Get("name");