From b0ac78dde1270464ac9e18b941a7b5d02df2ef95 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 14 Aug 2022 18:18:15 +0200 Subject: [PATCH] Don't care about std::regex_error value. --- server/TracyUserData.cpp | 2 +- server/TracyView_TraceInfo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/TracyUserData.cpp b/server/TracyUserData.cpp index a6cbceba..0bfe6eff 100644 --- a/server/TracyUserData.cpp +++ b/server/TracyUserData.cpp @@ -272,7 +272,7 @@ bool UserData::LoadSourceSubstitutions( std::vector& data ) { regex.assign( pattern ); } - catch( std::regex_error& err ) + catch( std::regex_error& ) { regexValid = false; } diff --git a/server/TracyView_TraceInfo.cpp b/server/TracyView_TraceInfo.cpp index e17cd8a3..63df1c64 100644 --- a/server/TracyView_TraceInfo.cpp +++ b/server/TracyView_TraceInfo.cpp @@ -853,7 +853,7 @@ void View::DrawInfo() { v.regex.assign( v.pattern ); } - catch( std::regex_error& err ) + catch( std::regex_error& ) { regexValid = false; break;