소스 검색

Removed dead method clish_command_help

Ingo Albrecht 3 년 전
부모
커밋
7350a1625f
2개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  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)