[PATCH 0/5] DFU Address GCC warnings

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/simtrace@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Wed Nov 9 22:24:11 UTC 2011


From: Holger Hans Peter Freyther <zecke at selfish.org>

These address various compiler warnings, there is still one left
related the flash handling  but I will need to read a bit more on
the EFC. I have flashed my device using DFU with these patches applied.

Holger Hans Peter Freyther (5):
  dfu: The i variable to disable interrupts shadows the outer index
  dfu: udp_ep0_recv_clean is static and is not called anywhere
  dfu: Mark unsued variables as __unused for now
  dfu: Use {} for possible empty if statement (in case debug is off)
  dfu: Remove unused variable, mark method as not retuning

 firmware/include/asm/compiler.h |    3 +++
 firmware/src/dfu/dfu.c          |   36 +++++++++++-------------------------
 2 files changed, 14 insertions(+), 25 deletions(-)

-- 
1.7.7.2





More information about the simtrace mailing list