Fix unused function warning when Sentry integration is disabled.

This commit is contained in:
Alex Shvartzkop 2025-07-02 16:48:53 +03:00
parent 4a5039c2cf
commit 453ab91482

View File

@ -264,7 +264,7 @@ void SENTRY::LogException( const wxString& aMsg )
#endif
}
#ifdef KICAD_USE_SENTRY
static std::string GetSentryBreadCrumbType( BREADCRUMB_TYPE aType )
{
// the only special case due to collisions with defines
@ -305,6 +305,7 @@ static std::string GetSentryBreadCrumbLevel( BREADCRUMB_LEVEL aLevel )
return ret;
}
#endif
namespace APP_MONITOR
{