From f2f36876e1580e4871b6c6435edc3e3dbd161838 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 9 Oct 2022 21:59:10 +0200 Subject: [PATCH] Remove unnecessary check. --- profiler/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 9d2d95bd..5832dea1 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -324,7 +324,7 @@ static void DrawContents() it->second.time = time; it->second.activeTime = activeTime; it->second.port = listenPort; - if( it->second.protocolVersion != protoVer ) it->second.protocolVersion = protoVer; + it->second.protocolVersion = protoVer; if( strcmp( it->second.procName.c_str(), procname ) != 0 ) it->second.procName = procname; } }