Fix compile error on Linux.

This commit is contained in:
Jeff Young 2020-06-30 19:15:11 +01:00
parent 4694b52e1f
commit 25c5c35176
3 changed files with 6 additions and 0 deletions

View File

@ -72,6 +72,8 @@ static inline wxString STROKE_T_asString( STROKE_T a )
case S_LAST: return "S_LAST"; // Synthetic value, but if we come across it we're
// going to want to know.
}
return wxEmptyString; // Just to quiet GCC.
};

View File

@ -52,6 +52,8 @@ static inline wxString PAD_SHAPE_T_asString( PAD_SHAPE_T a )
case PAD_SHAPE_CHAMFERED_RECT: return "PAD_SHAPE_CHAMFERED_RECT";
case PAD_SHAPE_CUSTOM: return "PAD_SHAPE_CUSTOM";
}
return wxEmptyString; // Just to quiet GCC.
};

View File

@ -61,6 +61,8 @@ static inline wxString SHAPE_TYPE_asString( SHAPE_TYPE a )
case SH_COMPOUND: return "SH_COMPOUND";
case SH_ARC: return "SH_ARC";
}
return wxEmptyString; // Just to quiet GCC.
}