diff --git a/modules/interpreter/src/cpp/Context.cpp b/modules/interpreter/src/cpp/Context.cpp index 60f9240527..57d543cbf5 100644 --- a/modules/interpreter/src/cpp/Context.cpp +++ b/modules/interpreter/src/cpp/Context.cpp @@ -56,7 +56,6 @@ Context::getGlobalScope() void Context::pushScope(const std::string& name) { - Scope* sc = nullptr; if (scopestack.size() > getRecursionDepth()) { Error(ERROR_STACK_DEPTH_EXCEEDED); } diff --git a/modules/random/src/cpp/RandomLaggedFibonacci607.hpp b/modules/random/src/cpp/RandomLaggedFibonacci607.hpp index cfa23993d0..6841648ab2 100644 --- a/modules/random/src/cpp/RandomLaggedFibonacci607.hpp +++ b/modules/random/src/cpp/RandomLaggedFibonacci607.hpp @@ -7,6 +7,8 @@ // SPDX-License-Identifier: LGPL-3.0-or-later // LICENCE_BLOCK_END //============================================================================= +#pragma once +//============================================================================= #include #include #include