Fixed warning in shell when auto completion is enabled.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10171 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
11cd580360
commit
6a99a1fb4c
|
@ -235,7 +235,7 @@ static int get_history(ShellHistory *shp, char *line, int dir) {
|
|||
|
||||
#if (SHELL_USE_COMPLETION == TRUE) || defined(__DOXYGEN__)
|
||||
static void get_completions(ShellConfig *scfg, char *line) {
|
||||
ShellCommand *lcp = shell_local_commands;
|
||||
const ShellCommand *lcp = shell_local_commands;
|
||||
const ShellCommand *scp = scfg->sc_commands;
|
||||
char **scmp = scfg->sc_completion;
|
||||
char help_cmp[] = "help";
|
||||
|
|
Loading…
Reference in New Issue