diff --git a/common/common_plot_functions.cpp b/common/common_plot_functions.cpp index 4e07bdaa78..57ce954da2 100644 --- a/common/common_plot_functions.cpp +++ b/common/common_plot_functions.cpp @@ -59,7 +59,11 @@ void PlotWorkSheet( PLOTTER* plotter, const TITLE_BLOCK& aTitleBlock, int iusPerMil = plotter->GetIUsPerDecimil() * 10; wxSize pageSize = aPageInfo.GetSizeMils(); // in mils int xg, yg; -// int refx, refy; + +#if defined( KICAD_GOST ) + int refx, refy; +#endif + wxPoint pos, end, ref; wxString msg; wxSize text_size;