From fb157f301aba4d665ec62a9a8897288790cacace Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sun, 20 Mar 2005 13:32:27 +0000 Subject: [PATCH] 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 --- reactos/drivers/dd/serial/pnp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/dd/serial/pnp.c b/reactos/drivers/dd/serial/pnp.c index 990f8e0a8ee..8658eb731ce 100644 --- a/reactos/drivers/dd/serial/pnp.c +++ b/reactos/drivers/dd/serial/pnp.c @@ -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;