fix some warnings (gcc 4.2)

svn path=/trunk/; revision=25562
This commit is contained in:
Christoph von Wittich 2007-01-21 18:25:47 +00:00
parent 88803f3676
commit 603823ffb8
2 changed files with 2 additions and 2 deletions

View file

@ -1515,7 +1515,7 @@ SetupDiLoadClassIcon(
{
LPWSTR Buffer = NULL;
LPCWSTR DllName;
INT iconIndex;
INT iconIndex = 0;
HKEY hKey = INVALID_HANDLE_VALUE;
hKey = SetupDiOpenClassRegKey(ClassGuid, KEY_QUERY_VALUE);

View file

@ -111,7 +111,7 @@ MsfsCreateMailslot(PDEVICE_OBJECT DeviceObject,
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);