[rtems commit] cpuuse/cpuusagetop.c: Fix unused variable warning

Joel Sherrill joel at rtems.org
Thu Mar 24 16:58:38 UTC 2016


Module:    rtems
Branch:    master
Commit:    7f9e067f54767df96aed91ede9fe467f3388b322
Changeset: http://git.rtems.org/rtems/commit/?id=7f9e067f54767df96aed91ede9fe467f3388b322

Author:    Joel Sherrill <joel at rtems.org>
Date:      Tue Mar 22 10:13:37 2016 -0500

cpuuse/cpuusagetop.c: Fix unused variable warning

---

 cpukit/libmisc/cpuuse/cpuusagetop.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cpukit/libmisc/cpuuse/cpuusagetop.c b/cpukit/libmisc/cpuuse/cpuusagetop.c
index 9b92858..cf896e3 100644
--- a/cpukit/libmisc/cpuuse/cpuusagetop.c
+++ b/cpukit/libmisc/cpuuse/cpuusagetop.c
@@ -465,7 +465,6 @@ rtems_cpuusage_top_thread (rtems_task_argument arg)
     for (i = 0; i < data->task_count; i++)
     {
       Thread_Control*   thread = data->tasks[i];
-      Timestamp_Control last;
       Timestamp_Control usage;
       Timestamp_Control current_usage;
 



More information about the vc mailing list