I was just about to look at that warning. Thanks for fixing it. I rewrote
both your patch and your commit message, though :-)

/D

On Wed, Oct 21, 2015 at 11:40:11PM +0200, Guido Lerch wrote:
> trashed my subsurface folder and started from scratch today with the last
> master @  4722df8
> 
> while building I got a warning
> 
> 
> 
> -- 
> Best regards,
> Guido

> From b1888cc5a96a8fd32b2fa57bfce8f013157df742 Mon Sep 17 00:00:00 2001
> From: Guido Lerch <[email protected]>
> 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 <[email protected]>
> ---
>  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)
> 

> _______________________________________________
> subsurface mailing list
> [email protected]
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to