From a06387fafd290dccce93615666926e3f3d959a62 Mon Sep 17 00:00:00 2001 From: Carlo Bramini Date: Mon, 28 Dec 2020 15:30:09 +0000 Subject: [PATCH] Fix warning at compile time --- pcbnew/plugins/legacy/legacy_plugin.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pcbnew/plugins/legacy/legacy_plugin.cpp b/pcbnew/plugins/legacy/legacy_plugin.cpp index 7fc1b6393a..2c1f89aecf 100644 --- a/pcbnew/plugins/legacy/legacy_plugin.cpp +++ b/pcbnew/plugins/legacy/legacy_plugin.cpp @@ -1,4 +1,3 @@ - /* * This program source code file is part of KiCad, a free EDA CAD application. * @@ -1956,8 +1955,7 @@ void LEGACY_PLUGIN::loadPCB_LINE() dseg->SetLayer( leg_layer2new( m_cu_count, layer ) ); break; case 1: - int mtype; - mtype = intParse( data ); + (void)intParse( data ); break; case 2: double angle;