fix waring kdump.c:246: warning: 'OldIrql' may be used uninitialized for dgb=0;

svn path=/trunk/; revision=16892
This commit is contained in:
Magnus Olsen 2005-07-30 13:44:07 +00:00
parent 050a6ba318
commit c34da245a4

View file

@ -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))