[rtems commit] rhealstone/rhtaskpreempt/taskpreempt.c: Fix warning due to oddly placed semi-colon
Joel Sherrill
joel at rtems.org
Sun Jan 24 19:46:57 UTC 2016
Module: rtems
Branch: master
Commit: 2eb7932eff3eb7db09bf27767c4708c60e4a2632
Changeset: http://git.rtems.org/rtems/commit/?id=2eb7932eff3eb7db09bf27767c4708c60e4a2632
Author: Joel Sherrill <joel at rtems.org>
Date: Sun Jan 24 13:46:41 2016 -0600
rhealstone/rhtaskpreempt/taskpreempt.c: Fix warning due to oddly placed semi-colon
---
testsuites/rhealstone/rhtaskpreempt/taskpreempt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/testsuites/rhealstone/rhtaskpreempt/taskpreempt.c b/testsuites/rhealstone/rhtaskpreempt/taskpreempt.c
index 090fd78..c396e74 100644
--- a/testsuites/rhealstone/rhtaskpreempt/taskpreempt.c
+++ b/testsuites/rhealstone/rhtaskpreempt/taskpreempt.c
@@ -99,8 +99,8 @@ rtems_task Init( rtems_task_argument ignored )
/* Find loop overhead */
benchmark_timer_initialize();
- for ( count1 = 0; count1 < ( BENCHMARKS * 2 ) - 1; count1++ ); {
- /* rtems_task_resume( Task_id[1] ); */
+ for ( count1 = 0; count1 < ( BENCHMARKS * 2 ) - 1; count1++ ) {
+ /* no statement */ ;
}
tloop_overhead = benchmark_timer_read();
More information about the vc
mailing list