mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
fixed uninitialized variable warning
svn path=/trunk/; revision=17593
This commit is contained in:
parent
ac2b9c20d7
commit
d57cdec721
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ VOID CompleteFilename (LPTSTR strIN, BOOL bNext, LPTSTR strOut, INT cusor)
|
||||||
no quote at the END of the full name */
|
no quote at the END of the full name */
|
||||||
FindPrefixAndSuffix(str,szPrefix,szBaseWord);
|
FindPrefixAndSuffix(str,szPrefix,szBaseWord);
|
||||||
/* Strip quotes */
|
/* Strip quotes */
|
||||||
while(i < _tcslen(szBaseWord)+1)
|
for(i = 0; i < _tcslen(szBaseWord); )
|
||||||
{
|
{
|
||||||
if(szBaseWord[i] == _T('\"'))
|
if(szBaseWord[i] == _T('\"'))
|
||||||
memmove(&szBaseWord[i],&szBaseWord[i + 1], _tcslen(&szBaseWord[i]) * sizeof(TCHAR));
|
memmove(&szBaseWord[i],&szBaseWord[i + 1], _tcslen(&szBaseWord[i]) * sizeof(TCHAR));
|
||||||
|
|
Loading…
Reference in a new issue