fixed some warnings with gcc4 (mostly assignment differs in signedness warnings)
[reactos.git] / reactos / drivers / bus / serenum / pdo.c
index 02d6c4c..615f051 100644 (file)
@@ -157,7 +157,7 @@ SerenumPdoPnp(
                                }
                                case TargetDeviceRelation:
                                {
-                                       PDEVICE_RELATIONS DeviceRelations;
+                                       PDEVICE_RELATIONS DeviceRelations = NULL;
                                        DPRINT("Serenum: IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_RELATIONS / TargetDeviceRelation\n");
                                        Status = SerenumPdoQueryDeviceRelations(DeviceObject, &DeviceRelations);
                                        Information = (ULONG_PTR)DeviceRelations;