From c34da245a4964bad80176d298d27a8b91345c5c3 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Sat, 30 Jul 2005 13:44:07 +0000 Subject: [PATCH] fix waring kdump.c:246: warning: 'OldIrql' may be used uninitialized for dgb=0; svn path=/trunk/; revision=16892 --- reactos/drivers/storage/diskdump/diskdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/storage/diskdump/diskdump.c b/reactos/drivers/storage/diskdump/diskdump.c index 443d580d6f2..f0cee8b0b39 100644 --- a/reactos/drivers/storage/diskdump/diskdump.c +++ b/reactos/drivers/storage/diskdump/diskdump.c @@ -243,7 +243,7 @@ DiskDumpFinish(VOID) NTSTATUS STDCALL DiskDumpWrite(LARGE_INTEGER Address, PMDL Mdl) { - KIRQL OldIrql, OldIrql2; + KIRQL OldIrql = 0, OldIrql2 = 0; KIRQL CurrentIrql = KeGetCurrentIrql(); if (CurrentIrql < (CoreDumpPortDeviceExtension->Interrupt->SynchronizeIrql - 1))