make the unused var warning like gcc's

This commit is contained in:
Bill Currie 2001-09-24 17:51:15 +00:00
parent b52d7fd3d9
commit c74fc1c0df

View file

@ -269,7 +269,7 @@ PR_FlushScope (def_t *scope, int force_used)
expr_t e;
e.line = def->line;
e.file = def->file;
warning (&e, "variable %s unused", def->name);
warning (&e, "unused variable `%s'", def->name);
}
Hash_Del (defs_by_name, def->name);
}