From 9a52205a5e27b017f522496edd13ef702b6cb337 Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Fri, 28 Dec 2012 08:49:15 +0000 Subject: Add min_length initialization. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2537 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/finsh/cmd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'components') 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 */ -- cgit v1.3.1