From ac8e05c4ec65b00045c058d4103d8889936e44af Mon Sep 17 00:00:00 2001 From: Guido Lerch Date: Wed, 21 Oct 2015 23:35:41 +0200 Subject: Fixing build warning about freediving This just fixes an annoying warning that freediving wasn't covered in the switch statement. Signed-off-by: Guido Lerch Signed-off-by: Dirk Hohndel --- profile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/profile.c b/profile.c index 55cf629ef..ee001d728 100644 --- a/profile.c +++ b/profile.c @@ -1171,6 +1171,7 @@ static void plot_string(struct plot_info *pi, struct plot_data *entry, struct me put_format(b, translate("gettextFromC", "END: %d%s\nEADD: %d%s\n"), end, depth_unit, eadd, depth_unit); break; case AIR: + case FREEDIVING: /* nothing */ break; } -- cgit v1.2.3-70-g09d2