Merge pull request #737 from viva64/bug_fixes

xboxkrnl_threading.cc: PVS-Studio: fixed return value.
This commit is contained in:
Justin Moore 2017-06-29 11:05:05 -05:00 committed by GitHub
commit 0c20f1c0fc
1 changed files with 1 additions and 1 deletions

View File

@ -1259,7 +1259,7 @@ pointer_result_t InterlockedPushEntrySList(
new_hdr.depth = old_hdr.depth + 1; new_hdr.depth = old_hdr.depth + 1;
new_hdr.sequence = old_hdr.sequence + 1; new_hdr.sequence = old_hdr.sequence + 1;
uint32_t old_head = old_hdr.next.next; old_head = old_hdr.next.next;
entry->next = old_hdr.next.next; entry->next = old_hdr.next.next;
new_hdr.next.next = entry.guest_address(); new_hdr.next.next = entry.guest_address();
} while ( } while (