mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Don't create variable for exception in catch block.
This commit is contained in:
@@ -456,7 +456,7 @@ int main( int argc, char** argv )
|
||||
} );
|
||||
}
|
||||
}
|
||||
catch( const tracy::NotTracyDump& e )
|
||||
catch( const tracy::NotTracyDump& )
|
||||
{
|
||||
badVer = -1;
|
||||
}
|
||||
|
||||
@@ -7025,7 +7025,7 @@ void View::DrawCompare()
|
||||
} );
|
||||
}
|
||||
}
|
||||
catch( const tracy::NotTracyDump& e )
|
||||
catch( const tracy::NotTracyDump& )
|
||||
{
|
||||
m_compare.badVer = -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user