summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Guido Lerch <guido.lerch@gmail.com>2015-10-21 23:35:41 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-22 07:14:51 +0900
commitac8e05c4ec65b00045c058d4103d8889936e44af (patch)
treea533fb36931e152fb827d258c9bfef7e625cec79 /profile.c
parent07b4878c52b88c858a1bd80f773456ab85495559 (diff)
downloadsubsurface-ac8e05c4ec65b00045c058d4103d8889936e44af.tar.gz
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 <guido.lerch@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c1
1 files changed, 1 insertions, 0 deletions
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;
}