this waring break the head for me

pnp.c:141: warning: 'Affinity' might be used uninitialized in this function
{standard input}: Assembler messages:

initialized it with Affinity = 0;

svn path=/trunk/; revision=14221
This commit is contained in:
Magnus Olsen 2005-03-20 13:32:27 +00:00
parent d73103f0f2
commit fb157f301a

View file

@ -138,7 +138,7 @@ SerialPnpStartDevice(
ULONG Vector = 0;
ULONG i, j;
KIRQL Dirql;
KAFFINITY Affinity;
KAFFINITY Affinity = 0;
KINTERRUPT_MODE InterruptMode = Latched;
BOOLEAN ShareInterrupt = TRUE;
OBJECT_ATTRIBUTES objectAttributes;