Removed dummy function

This commit is contained in:
jpk 2017-10-30 17:35:40 +01:00
parent e0b12d6581
commit 42749e506a
1 changed files with 0 additions and 8 deletions

View File

@ -96,10 +96,6 @@ static int lw12_cmd_exit(int argc, char *argv[]) {
return 0;
}
static int lw12_cmd_dummy(int argc, char *argv[]) {
return 1;
}
struct lw12_command {
const char *cmd;
int (*handler)(int argc, char *argv[]);
@ -109,10 +105,6 @@ struct lw12_command {
static struct lw12_command lw12_commands[] = {
{"light", lw12_cmd_light,
"Control the LED stripe. Turn it on/off and change the colors" },
{"foobar", lw12_cmd_dummy,
"Exit program"},
{"foobaz", lw12_cmd_dummy,
"Exit program"},
{"exit", lw12_cmd_exit,
"Exit program"},
{"quit", lw12_cmd_exit,