From 3cd3ad34ddce4d97edac0ddd023743db02be27a3 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Sun, 27 Apr 2025 13:35:36 -0700 Subject: [PATCH] Fix stupid compile issue with g++ --- include/units_provider.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/units_provider.h b/include/units_provider.h index 5b2bcd4e96..5d12878ce5 100644 --- a/include/units_provider.h +++ b/include/units_provider.h @@ -241,6 +241,7 @@ public: wxString msg = wxString::Format( wxT( "Unhandled unit data type %d" ), static_cast( aUnits ) ); wxCHECK_MSG( false, EDA_DATA_TYPE::UNITLESS, msg ); + return EDA_DATA_TYPE::UNITLESS; // Note that this is unreachable but g++-12 doesn't know that. } /// @brief The string that is used in the UI to represent a null value