summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-28 08:49:15 +0000
committer[email protected] <[email protected]>2012-12-28 08:49:15 +0000
commit9a52205a5e27b017f522496edd13ef702b6cb337 (patch)
tree4a5b8fcd92b13acc2e51121ad40def17f2395638
parent8df650d861a29a8a95c7ebb3206537961051bf70 (diff)
Add min_length initialization.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2537 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--components/finsh/cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c
index 8cd82c2d5f..632577404e 100644
--- a/components/finsh/cmd.c
+++ b/components/finsh/cmd.c
@@ -643,6 +643,7 @@ void list_prefix(char *prefix)
func_cnt = 0;
var_cnt = 0;
+ min_length = 0;
name_ptr = RT_NULL;
/* checks in system function call */