diff --git a/pcbnew/fp_text_grid_table.cpp b/pcbnew/fp_text_grid_table.cpp index 086a87bbfd..f0f48ec03b 100644 --- a/pcbnew/fp_text_grid_table.cpp +++ b/pcbnew/fp_text_grid_table.cpp @@ -220,6 +220,8 @@ wxGridCellAttr* FP_TEXT_GRID_TABLE::GetAttr( int aRow, int aCol, wxGridCellAttr: return m_urlAttr; } + return nullptr; + case FPT_WIDTH: case FPT_HEIGHT: case FPT_THICKNESS: