Fix a warning with some compilers about non-initialized variable.

This can't really happen in real execution, but let's be the compiler happy ;)

svn path=/trunk/; revision=14180
This commit is contained in:
Hervé Poussineau 2005-03-18 19:00:48 +00:00
parent 64944b49f7
commit f0bec76acd

View file

@ -19,7 +19,7 @@ SerialAddDevice(
IN PDEVICE_OBJECT Pdo)
{
PDEVICE_OBJECT Fdo = NULL;
PSERIAL_DEVICE_EXTENSION DeviceExtension;
PSERIAL_DEVICE_EXTENSION DeviceExtension = NULL;
NTSTATUS Status;
WCHAR DeviceNameBuffer[32];
UNICODE_STRING DeviceName;