mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:16:07 +00:00
fix waring kdump.c:246: warning: 'OldIrql' may be used uninitialized for dgb=0;
svn path=/trunk/; revision=16892
This commit is contained in:
parent
050a6ba318
commit
c34da245a4
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ DiskDumpFinish(VOID)
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
DiskDumpWrite(LARGE_INTEGER Address, PMDL Mdl)
|
DiskDumpWrite(LARGE_INTEGER Address, PMDL Mdl)
|
||||||
{
|
{
|
||||||
KIRQL OldIrql, OldIrql2;
|
KIRQL OldIrql = 0, OldIrql2 = 0;
|
||||||
KIRQL CurrentIrql = KeGetCurrentIrql();
|
KIRQL CurrentIrql = KeGetCurrentIrql();
|
||||||
|
|
||||||
if (CurrentIrql < (CoreDumpPortDeviceExtension->Interrupt->SynchronizeIrql - 1))
|
if (CurrentIrql < (CoreDumpPortDeviceExtension->Interrupt->SynchronizeIrql - 1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue