mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 05:45:11 +02:00
8003310: Enable -Wunused-function when compiling with gcc
Add the -Wunused-function flag and remove a number of unused functions. Reviewed-by: dholmes, coleenp, kvn
This commit is contained in:
parent
33f6dd2215
commit
eeb83733a6
29 changed files with 92 additions and 266 deletions
|
@ -237,13 +237,6 @@ static const char * command_names[] = {
|
|||
"help"
|
||||
};
|
||||
|
||||
static const char * command_name(OracleCommand command) {
|
||||
if (command < OracleFirstCommand || command >= OracleCommandCount) {
|
||||
return "unknown command";
|
||||
}
|
||||
return command_names[command];
|
||||
}
|
||||
|
||||
class MethodMatcher;
|
||||
static MethodMatcher* lists[OracleCommandCount] = { 0, };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue