forked from Imagelibrary/rtems
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/monitor/mon-editor.c (rtems_monitor_task): Comment out unused vars "debugee", "rp", "fp".
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libmisc/monitor/mon-editor.c (rtems_monitor_task):
|
||||
Comment out unused vars "debugee", "rp", "fp".
|
||||
* posix/src/alarm.c: Make _POSIX_signals_Alarm_TSR static.
|
||||
Remove unused var "status".
|
||||
* libmisc/shell/main_ls.c: Comment out unused var kflag.
|
||||
|
||||
@@ -518,10 +518,12 @@ rtems_monitor_task(
|
||||
rtems_task_argument monitor_flags
|
||||
)
|
||||
{
|
||||
#if UNUSED
|
||||
rtems_tcb *debugee = 0;
|
||||
rtems_context *rp;
|
||||
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
|
||||
rtems_context_fp *fp;
|
||||
#endif
|
||||
#endif
|
||||
char command_buffer[513];
|
||||
int argc;
|
||||
@@ -571,12 +573,13 @@ rtems_monitor_task(
|
||||
{
|
||||
const rtems_monitor_command_entry_t *command;
|
||||
|
||||
#if UNUSED
|
||||
debugee = _Thread_Executing;
|
||||
rp = &debugee->Registers;
|
||||
#if (CPU_HARDWARE_FP == TRUE) || (CPU_SOFTWARE_FP == TRUE)
|
||||
fp = debugee->fp_context; /* possibly 0 */
|
||||
#endif
|
||||
|
||||
#endif
|
||||
if (0 == rtems_monitor_command_read(command_buffer, &argc, argv))
|
||||
continue;
|
||||
if (argc < 1
|
||||
|
||||
Reference in New Issue
Block a user