Remove fixable unused-parameter warnings

I see other warnings within vhdlpp/lexor.cc caused by a flex bug
(see http://sourceforge.net/p/flex/bugs/115/), which I won't try to work around.
This commit is contained in:
Larry Doolittle 2014-01-28 15:40:24 -08:00 committed by Stephen Williams
parent 607b63a758
commit 77a01f65d0
3 changed files with 3 additions and 3 deletions

View File

@ -4720,7 +4720,7 @@ unsigned PENewClass::test_width(Design*, NetScope*, width_mode_t&)
*/
NetExpr* PENewClass::elaborate_expr_constructor_(Design*des, NetScope*scope,
const netclass_t*ctype,
NetExpr*obj, unsigned flags) const
NetExpr*obj, unsigned /*flags*/) const
{
// If there is an initializer function, then pass the object
// through that function first. Note tha the initializer

View File

@ -63,7 +63,7 @@ bool ivl_type_s::type_compatible(ivl_type_t that) const
return test_compatibility(that);
}
bool ivl_type_s::test_compatibility(const ivl_type_s*that) const
bool ivl_type_s::test_compatibility(const ivl_type_s* /*that*/) const
{
return false;
}

View File

@ -55,7 +55,7 @@ int blif_errors = 0;
static void emit_blif(const char*blif_path, ivl_design_t des, ivl_scope_t model);
static int process_scan_fun(ivl_process_t net, void*raw)
static int process_scan_fun(ivl_process_t net, void* /*raw*/)
{
fprintf(stderr, "%s:%u: sorry: BLIF: Processes not supported yet.\n",
ivl_process_file(net), ivl_process_lineno(net));