]> granicus.if.org Git - icinga2/commitdiff
Remove duplicate semicolons 6029/head
authorGunnar Beutner <gunnar.beutner@icinga.com>
Wed, 24 Jan 2018 11:07:52 +0000 (12:07 +0100)
committerGunnar Beutner <gunnar.beutner@icinga.com>
Wed, 24 Jan 2018 11:07:52 +0000 (12:07 +0100)
lib/base/exception.cpp
lib/base/threadpool.cpp
lib/icinga/macroprocessor.cpp
lib/remote/apiclient.cpp

index 51320f5a39360bd020f306e1a529b9c3d3ba4738..b74a0a6c1580d8cea3e01200133adfcadb85a54b 100644 (file)
@@ -303,7 +303,7 @@ DebugInfo ScriptError::GetDebugInfo() const
 
 bool ScriptError::IsIncompleteExpression() const
 {
-       return m_IncompleteExpr;;
+       return m_IncompleteExpr;
 }
 
 bool ScriptError::IsHandledByDebugger() const
index cfee1f98e81dd4730eff754920916b88da498dfd..996931d0012b8a712594fd5b16d7693ce08fbbd1 100644 (file)
@@ -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
index 7fc150d948b3ee984a44c978b2fadb69e497d52f..1c488ac24ecb295f025183b2df8804a6f3548662 100644 (file)
@@ -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<Array>()) {
-               ArrayData resultArr;;
+               ArrayData resultArr;
                Array::Ptr arr = str;
 
                ObjectLock olock(arr);
index e5a98fceb3f47ef4955a785062f9bc75ea0ef480..b0d0a63daf9c4ed94e4753ce3c299983d76a98f7 100644 (file)
@@ -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");