From d03408b7d250f22a61a29c4abd846dd68d6dbdcb Mon Sep 17 00:00:00 2001 From: Pascal Brisset Date: Tue, 27 Apr 2010 10:19:48 +0000 Subject: [PATCH] add missing default: in switch --- sw/airborne/gps_ubx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sw/airborne/gps_ubx.c b/sw/airborne/gps_ubx.c index 5343f4492a..cc8f63a666 100644 --- a/sw/airborne/gps_ubx.c +++ b/sw/airborne/gps_ubx.c @@ -349,6 +349,8 @@ void parse_ubx( uint8_t c ) { gps_msg_received = TRUE; goto restart; break; + default: + goto error; } return; error: