branch | RCL_3 |
changeset 44 | 3e88ff8f41d5 |
parent 43 | c1f20ce4abcf |
--- a/kerneltest/e32test/nkern/t_nktrace.cpp Tue Aug 31 16:34:26 2010 +0300 +++ b/kerneltest/e32test/nkern/t_nktrace.cpp Wed Sep 01 12:34:56 2010 +0100 @@ -151,7 +151,9 @@ TRequestStatus timerStat; timer.After(timerStat,10*1000000); User::WaitForRequest(timerStat,keyStat); - (void)test.Console()->KeyCode(); + TInt key; + if(keyStat!=KRequestPending) + key = test.Console()->KeyCode(); timer.Cancel(); test.Console()->ReadCancel(); User::WaitForAnyRequest();