From 7ee2bf88e99f0ffa027c5839e5ae85d55752ac1b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 18 May 2012 04:44:01 -0400 Subject: More cppcheck warning fixups. All regression tests pass. --- driver_navcom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'driver_navcom.c') diff --git a/driver_navcom.c b/driver_navcom.c index ac5adf07..655c745c 100644 --- a/driver_navcom.c +++ b/driver_navcom.c @@ -110,8 +110,9 @@ static void navcom_cmd_0x20(struct gps_device_t *session, uint8_t block_id, } /*@ unused @*/ -/* Changes the LED settings in the receiver */ +// cppcheck-suppress unusedFunction static void UNUSED navcom_cmd_0x3f(struct gps_device_t *session) +/* Changes the LED settings in the receiver */ { unsigned char msg[12]; putbyte(msg, 0, 0x02); -- cgit v1.2.1