Author: cwittich
Date: Sun Jan 21 21:25:47 2007
New Revision: 25562
URL:
http://svn.reactos.org/svn/reactos?rev=25562&view=rev
Log:
fix some warnings (gcc 4.2)
Modified:
trunk/reactos/dll/win32/setupapi/devclass.c
trunk/reactos/drivers/filesystems/ms/create.c
Modified: trunk/reactos/dll/win32/setupapi/devclass.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/devclas…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/devclass.c (original)
+++ trunk/reactos/dll/win32/setupapi/devclass.c Sun Jan 21 21:25:47 2007
@@ -1515,7 +1515,7 @@
{
LPWSTR Buffer = NULL;
LPCWSTR DllName;
- INT iconIndex;
+ INT iconIndex = 0;
HKEY hKey = INVALID_HANDLE_VALUE;
hKey = SetupDiOpenClassRegKey(ClassGuid, KEY_QUERY_VALUE);
Modified: trunk/reactos/drivers/filesystems/ms/create.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ms/cre…
==============================================================================
--- trunk/reactos/drivers/filesystems/ms/create.c (original)
+++ trunk/reactos/drivers/filesystems/ms/create.c Sun Jan 21 21:25:47 2007
@@ -111,7 +111,7 @@
PMSFS_CCB Ccb;
KIRQL oldIrql;
PLIST_ENTRY current_entry;
- PMSFS_FCB current;
+ PMSFS_FCB current = NULL;
PMAILSLOT_CREATE_PARAMETERS Buffer;
DPRINT("MsfsCreateMailslot(DeviceObject %p Irp %p)\n", DeviceObject, Irp);