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];