Browse Source

Removed dead method clish_command_help

Ingo Albrecht 3 years ago
parent
commit
7350a1625f
2 changed files with 0 additions and 9 deletions
  1. 0 1
      clish/command.h
  2. 0 8
      clish/command/command.c

+ 0 - 1
clish/command.h

@@ -33,7 +33,6 @@ clish_command_diff(const clish_command_t * cmd1, const clish_command_t * cmd2);
 void clish_command_delete(clish_command_t *instance);
 void clish_command_insert_param(clish_command_t *instance,
 	clish_param_t *param);
-int clish_command_help(const clish_command_t *instance);
 void clish_command_dump(const clish_command_t *instance);
 
 _CLISH_GET_STR(command, name);

+ 0 - 8
clish/command/command.c

@@ -163,14 +163,6 @@ void clish_command_insert_param(clish_command_t * this, clish_param_t * param)
 	clish_paramv_insert(this->paramv, param);
 }
 
-/*--------------------------------------------------------- */
-int clish_command_help(const clish_command_t *this)
-{
-	this = this; /* Happy compiler */
-
-	return 0;
-}
-
 /*--------------------------------------------------------- */
 clish_command_t *clish_command_choose_longest(clish_command_t * cmd1,
 	clish_command_t * cmd2)