From 323f0e1ae321f10c55c80af3d5912e22642aa522 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 22 Jun 2019 13:41:24 +0200 Subject: [PATCH] Don't create variable for exception in catch block. --- profiler/src/main.cpp | 2 +- server/TracyView.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index bcef53db..493ea3ee 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -456,7 +456,7 @@ int main( int argc, char** argv ) } ); } } - catch( const tracy::NotTracyDump& e ) + catch( const tracy::NotTracyDump& ) { badVer = -1; } diff --git a/server/TracyView.cpp b/server/TracyView.cpp index fb4a32e2..5f1699c8 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -7025,7 +7025,7 @@ void View::DrawCompare() } ); } } - catch( const tracy::NotTracyDump& e ) + catch( const tracy::NotTracyDump& ) { m_compare.badVer = -1; }