libdebugger: Fix for ARMv7-M with -O0 optimization

This commit is contained in:
Chris Johns
2019-04-09 17:51:50 +10:00
parent 71c5b005c7
commit 581cce2626
2 changed files with 21 additions and 5 deletions

View File

@@ -1646,7 +1646,7 @@ remote_packets(uint8_t* buffer, size_t size)
static void
rtems_debugger_events(rtems_task_argument arg)
{
int r;
int r = 0;
if (rtems_debugger_verbose())
rtems_debugger_printf("rtems-db: events running\n");