Silence property warnings

This commit is contained in:
Seth Hillbrand
2022-08-25 13:39:38 -07:00
parent 8a02f2f809
commit c491cd01c5
+3 -1
View File
@@ -25,6 +25,7 @@
#include <wx/regex.h>
#include <common.h>
#include <macros.h>
#include <validators.h>
#include <convert_to_biu.h>
#include <property.h>
@@ -63,6 +64,7 @@ wxPGProperty* PGPropertyFactory( const PROPERTY_BASE* aProperty )
default:
wxFAIL;
KI_FALLTHROUGH;
/* fall through */
case PROPERTY_DISPLAY::PT_DEFAULT:
{
@@ -186,7 +188,7 @@ bool PGPROPERTY_DISTANCE::StringToDistance( wxVariant& aVariant, const wxString&
break;
case EDA_UNITS::UNSCALED:
newValueIU = value;
newValueIU = KiROUND( value );
break;
default: