Fix compil warnings.

This commit is contained in:
jean-pierre charras 2023-02-28 17:47:56 +01:00
parent ea0dcc8ebd
commit 764ddd4773
2 changed files with 3 additions and 3 deletions

View File

@ -926,8 +926,8 @@ void SCH_SEXPR_PLUGIN::saveBitmap( SCH_BITMAP* aBitmap, int aNestLevel )
// Let's keep compatibility by changing image scale.
if( SEXPR_SCHEMATIC_FILE_VERSION <= 20230121 )
{
BITMAP_BASE* image = aBitmap->GetImage();
scale = scale * 300.0 / image->GetPPI();
BITMAP_BASE* bm_image = aBitmap->GetImage();
scale = scale * 300.0 / bm_image->GetPPI();
}
if( scale != 1.0 )

View File

@ -40,7 +40,7 @@
#include <enum_vector.h>
class SIM_LIBRARY;
class SPICE_ITEM;
struct SPICE_ITEM;
class SPICE_GENERATOR;
class SIM_MODEL_SERIALIZER;
class PROJECT;