From 151f061298cc1fabd19f3d511b5c2be13ba62878 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Mon, 19 Sep 2016 14:57:51 +0200 Subject: [PATCH] vhdlpp: Removed unused parameters to mute warnings --- vhdlpp/library.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vhdlpp/library.cc b/vhdlpp/library.cc index 5dd06d58b..44555f220 100644 --- a/vhdlpp/library.cc +++ b/vhdlpp/library.cc @@ -363,7 +363,8 @@ static void import_ieee_use_numeric_std(ActiveScope*res, perm_string name) } } -static void import_ieee_use(const YYLTYPE&loc, ActiveScope*res, perm_string package, perm_string name) +static void import_ieee_use(const YYLTYPE&/*loc*/, ActiveScope*res, + perm_string package, perm_string name) { if (package == "std_logic_1164") { import_ieee_use_std_logic_1164(res, name); @@ -398,7 +399,8 @@ static void import_ieee_use(const YYLTYPE&loc, ActiveScope*res, perm_string pack cerr << "Warning: Package ieee." << package.str() <<" is not yet supported" << endl; } -static void import_std_use(const YYLTYPE&loc, ActiveScope*res, perm_string package, perm_string /*name*/) +static void import_std_use(const YYLTYPE&/*loc*/, ActiveScope*res, + perm_string package, perm_string /*name*/) { if (package == "standard") { // do nothing