Module: check_mk
Branch: master
Commit: 37ca804b4010b29829e03a46b1b74b9c042d1192
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=37ca804b4010b2…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Wed Mar 7 08:07:45 2018 +0100
Win-agent: remove unused variable
---
agents/windows/build_version | 2 +-
agents/windows/stringutil.cc | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/agents/windows/build_version b/agents/windows/build_version
index 2caf624..3374bc7 100644
--- a/agents/windows/build_version
+++ b/agents/windows/build_version
@@ -1 +1 @@
-3154
+3156
diff --git a/agents/windows/stringutil.cc b/agents/windows/stringutil.cc
index d4b00fd..5ca3729 100644
--- a/agents/windows/stringutil.cc
+++ b/agents/windows/stringutil.cc
@@ -319,7 +319,6 @@ OptionalString matchIPv6Mapped(const std::string &inputAddr) {
std::smatch match;
if (std::regex_match(inputAddr, match, ipv6mapped) && match.size() >= 2)
{
- std::smatch subMatch;
for (const auto &m : match) {
const auto subString{m.str()};
if (const auto subMatch = matchBase(subString, ipv4)) {