From f651c1283c477afacc867f00801628dd43fa114f Mon Sep 17 00:00:00 2001 From: Mike Nordell Date: Tue, 21 Dec 2004 16:30:24 +0000 Subject: [PATCH] Command line completion fix (uninitialized memory) svn path=/trunk/; revision=12274 --- reactos/subsys/system/cmd/filecomp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/system/cmd/filecomp.c b/reactos/subsys/system/cmd/filecomp.c index 6b8ffc35305..2eec4199260 100644 --- a/reactos/subsys/system/cmd/filecomp.c +++ b/reactos/subsys/system/cmd/filecomp.c @@ -32,7 +32,8 @@ VOID CompleteFilename (LPTSTR str, INT charcount) INT curplace = 0; INT start; INT count; - INT step, c; + INT step; + INT c = 0; BOOL found_dot = FALSE; BOOL perfectmatch = TRUE; TCHAR path[MAX_PATH];