Paul Gofman (@gofman) commented about dlls/ntdll/tests/sync.c:
/* make sure we only get APCs when we expect them */if (test->alertable && test->queue_apc){if (status == STATUS_USER_APC)apc_status_count[test->timeout ? 1 : 0]++;ok( apc_count > 0, "%s: no APCs executed.\n", test->desc );}elseok( !apc_count, "%s: unexpected APCs executed %ld.\n", test->desc, apc_count );/* test SleepEx */apc_count = 0;if (test->queue_apc){int k;for (k = 0; k < 8; k++)
Same, 'int k' and queuing APC in ok().