kerneltest/e32test/secure/t_sdrivers.cpp
branchRCL_3
changeset 256 c1f20ce4abcf
parent 0 a41df078684a
child 257 3e88ff8f41d5
--- a/kerneltest/e32test/secure/t_sdrivers.cpp	Thu Aug 19 11:14:22 2010 +0300
+++ b/kerneltest/e32test/secure/t_sdrivers.cpp	Tue Aug 31 16:34:26 2010 +0300
@@ -367,7 +367,7 @@
 
 	// get another thread to try and call device GetCaps with descriptor in kernel memory...
 	test.Next(_L("Check GetCaps with bad descriptor 2"));
-	r = thread.Create(_L("TestGetCapsThread"),TestGetCapsThread,KDefaultStackSize,0x2000,0x2000,(TAny*)kernelPtr);
+	r = thread.Create(_L("TestGetCapsThread2"),TestGetCapsThread,KDefaultStackSize,0x2000,0x2000,(TAny*)kernelPtr);
 	test_KErrNone(r);
 	thread.Logon(ls);
 	thread.Rendezvous(rs);
@@ -472,9 +472,9 @@
 	TRequestStatus timerStat;
 	timer.After(timerStat,20*1000000);
 	User::WaitForRequest(timerStat,keyStat);
-	TInt key = 0;
 	if(keyStat!=KRequestPending)
-		key = test.Console()->KeyCode();
+		(void)test.Console()->KeyCode();
+
 	timer.Cancel();
 	test.Console()->ReadCancel();
 	User::WaitForAnyRequest();