Fixing warning about freediving
Guido Lerch
guido.lerch at gmail.com
Wed Oct 21 14:40:11 PDT 2015
trashed my subsurface folder and started from scratch today with the last
master @ 4722df8
while building I got a warning
--
Best regards,
Guido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20151021/02831273/attachment.html>
-------------- next part --------------
From b1888cc5a96a8fd32b2fa57bfce8f013157df742 Mon Sep 17 00:00:00 2001
From: Guido Lerch <guido.lerch at gmail.com>
Date: Wed, 21 Oct 2015 23:35:41 +0200
Subject: [PATCH] Fixing build warning about freediving
This just fixes an issue with freediving not being with a switch statement
that was a little annoying.
location: profice.c
function: plot_string
Signed-off-by: Guido Lerch <guido.lerch at gmail.com>
---
profile.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/profile.c b/profile.c
index 55cf629..4bfb5ff 100644
--- a/profile.c
+++ b/profile.c
@@ -1173,6 +1173,9 @@ static void plot_string(struct plot_info *pi, struct plot_data *entry, struct me
case AIR:
/* nothing */
break;
+ case FREEDIVING:
+ /* nothing */
+ break;
}
}
if (entry->stopdepth) {
--
2.3.8 (Apple Git-58)
More information about the subsurface
mailing list