mirror of
https://github.com/reactos/reactos.git
synced 2024-10-14 21:25:14 +00:00
eliminated misleading GCC warning
svn path=/trunk/; revision=7726
This commit is contained in:
parent
ea7bc6c78a
commit
98e32f5ac0
|
@ -332,7 +332,6 @@ void ShellDirectory::read_directory(int scan_flags)
|
||||||
#define FETCH_ITEM_COUNT 32
|
#define FETCH_ITEM_COUNT 32
|
||||||
LPITEMIDLIST pidls[FETCH_ITEM_COUNT];
|
LPITEMIDLIST pidls[FETCH_ITEM_COUNT];
|
||||||
ULONG cnt = 0;
|
ULONG cnt = 0;
|
||||||
ULONG n;
|
|
||||||
|
|
||||||
memset(pidls, 0, sizeof(pidls));
|
memset(pidls, 0, sizeof(pidls));
|
||||||
|
|
||||||
|
@ -345,7 +344,7 @@ void ShellDirectory::read_directory(int scan_flags)
|
||||||
if (hr_next == S_FALSE)
|
if (hr_next == S_FALSE)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
for(n=0; n<cnt; ++n) {
|
for(ULONG n=0; n<cnt; ++n) {
|
||||||
WIN32_FIND_DATA w32fd;
|
WIN32_FIND_DATA w32fd;
|
||||||
BY_HANDLE_FILE_INFORMATION bhfi;
|
BY_HANDLE_FILE_INFORMATION bhfi;
|
||||||
bool bhfi_valid = false;
|
bool bhfi_valid = false;
|
||||||
|
|
Loading…
Reference in a new issue