mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
[NTOSKRNL]
* Fix uninitialized data use. Spotted by gcc 4.6.0 svn path=/trunk/; revision=52199
This commit is contained in:
parent
11ed2398f0
commit
b9e37ae053
|
@ -247,7 +247,7 @@ KeRemoveQueue(IN PKQUEUE Queue,
|
|||
PKTIMER Timer = &Thread->Timer;
|
||||
BOOLEAN Swappable;
|
||||
PLARGE_INTEGER OriginalDueTime = Timeout;
|
||||
LARGE_INTEGER DueTime, NewDueTime, InterruptTime;
|
||||
LARGE_INTEGER DueTime = {0,0}, NewDueTime, InterruptTime;
|
||||
ULONG Hand = 0;
|
||||
ASSERT_QUEUE(Queue);
|
||||
ASSERT_IRQL_LESS_OR_EQUAL(DISPATCH_LEVEL);
|
||||
|
|
|
@ -413,7 +413,7 @@ KeWaitForSingleObject(IN PVOID Object,
|
|||
PKTIMER Timer = &Thread->Timer;
|
||||
NTSTATUS WaitStatus;
|
||||
BOOLEAN Swappable;
|
||||
LARGE_INTEGER DueTime, NewDueTime, InterruptTime;
|
||||
LARGE_INTEGER DueTime = {0,0}, NewDueTime, InterruptTime;
|
||||
PLARGE_INTEGER OriginalDueTime = Timeout;
|
||||
ULONG Hand = 0;
|
||||
|
||||
|
@ -580,7 +580,7 @@ KeWaitForMultipleObjects(IN ULONG Count,
|
|||
NTSTATUS WaitStatus = STATUS_SUCCESS;
|
||||
BOOLEAN Swappable;
|
||||
PLARGE_INTEGER OriginalDueTime = Timeout;
|
||||
LARGE_INTEGER DueTime, NewDueTime, InterruptTime;
|
||||
LARGE_INTEGER DueTime = {0,0}, NewDueTime, InterruptTime;
|
||||
ULONG Index, Hand = 0;
|
||||
|
||||
/* Make sure the Wait Count is valid */
|
||||
|
|
Loading…
Reference in a new issue