mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
eliminate useless GCC warning
svn path=/branches/lean-explorer/; revision=10282
This commit is contained in:
@@ -227,7 +227,7 @@ void ShellDirectory::read_directory(int scan_flags)
|
||||
TCHAR buffer[MAX_PATH];
|
||||
|
||||
if ((scan_flags&SCAN_FILESYSTEM) && get_path(buffer)) {
|
||||
Entry* entry;
|
||||
Entry* entry = NULL; // eliminate useless GCC warning by initializing entry
|
||||
|
||||
LPTSTR p = buffer + _tcslen(buffer);
|
||||
|
||||
@@ -372,7 +372,7 @@ void ShellDirectory::read_directory(int scan_flags)
|
||||
(scan_flags&SCAN_DO_ACCESS) && !removeable);
|
||||
|
||||
try {
|
||||
Entry* entry;
|
||||
Entry* entry = NULL; // eliminate useless GCC warning by initializing entry
|
||||
|
||||
if (w32fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
|
||||
entry = new ShellDirectory(this, pidls[n], _hwnd);
|
||||
|
||||
Reference in New Issue
Block a user