Author: hpoussin
Date: Tue Jul 18 18:41:55 2006
New Revision: 23150
URL:
http://svn.reactos.org/svn/reactos?rev=23150&view=rev
Log:
Fix warnings detected by MSVC
Modified:
trunk/reactos/lib/recyclebin/openclose.c
trunk/reactos/lib/recyclebin/recyclebin.c
trunk/reactos/lib/recyclebin/recyclebin_v5.c
Modified: trunk/reactos/lib/recyclebin/openclose.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/recyclebin/openclose.c…
==============================================================================
--- trunk/reactos/lib/recyclebin/openclose.c (original)
+++ trunk/reactos/lib/recyclebin/openclose.c Tue Jul 18 18:41:55 2006
@@ -170,7 +170,7 @@
}
/* Search if the recycle bin has already been opened */
- driveLetter = toupper(driveLetter);
+ driveLetter = (WCHAR)toupper(driveLetter);
ListEntry = ListHead.Flink;
while (ListEntry != &ListHead)
{
Modified: trunk/reactos/lib/recyclebin/recyclebin.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/recyclebin/recyclebin.…
==============================================================================
--- trunk/reactos/lib/recyclebin/recyclebin.c (original)
+++ trunk/reactos/lib/recyclebin/recyclebin.c Tue Jul 18 18:41:55 2006
@@ -261,7 +261,6 @@
{
PDELETED_FILE_DETAILS_W FileDetailsW = NULL;
DWORD BufferSizeW = 0;
- DWORD RequiredSizeW;
BOOL ret = FALSE;
if (BufferSize >= FIELD_OFFSET(DELETED_FILE_DETAILS_A, FileName))
@@ -279,7 +278,7 @@
}
}
- ret = GetDeletedFileDetailsW(hDeletedFile, BufferSizeW, FileDetailsW,
&RequiredSizeW);
+ ret = GetDeletedFileDetailsW(hDeletedFile, BufferSizeW, FileDetailsW, RequiredSize);
if (!ret)
goto cleanup;
Modified: trunk/reactos/lib/recyclebin/recyclebin_v5.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/recyclebin/recyclebin_…
==============================================================================
--- trunk/reactos/lib/recyclebin/recyclebin_v5.c (original)
+++ trunk/reactos/lib/recyclebin/recyclebin_v5.c Tue Jul 18 18:41:55 2006
@@ -24,6 +24,7 @@
CloseHandle5(
IN HANDLE hDeletedFile)
{
+ UNREFERENCED_PARAMETER(hDeletedFile);
/* Nothing to do, as hDeletedFile is simply a DWORD... */
return TRUE;
}