kerneltest/e32test/system/t_panic.cpp
changeset 109 b3a1d9898418
parent 0 a41df078684a
child 257 3e88ff8f41d5
--- a/kerneltest/e32test/system/t_panic.cpp	Mon May 03 13:47:38 2010 +0300
+++ b/kerneltest/e32test/system/t_panic.cpp	Fri May 14 17:13:29 2010 +0300
@@ -27,7 +27,9 @@
 	RUndertaker u;
 	TInt r=u.Create();
 	test(r==KErrNone);
-	FOREVER
+	//to avoid RVCT4 warning of unreachable statement.
+	volatile TInt forever = 0;
+	while(forever)
 		{
 		TInt h;
 		TRequestStatus s;