<div dir="ltr">heres another one for you to rewrite.<div>let me know what and why you rewrote, otherwise I wont grow.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-22 0:16 GMT+02:00 Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was just about to look at that warning. Thanks for fixing it. I rewrote<br>
both your patch and your commit message, though :-)<br>
<br>
/D<br>
<div><div class="h5"><br>
On Wed, Oct 21, 2015 at 11:40:11PM +0200, Guido Lerch wrote:<br>
> trashed my subsurface folder and started from scratch today with the last<br>
> master @  4722df8<br>
><br>
> while building I got a warning<br>
><br>
><br>
><br>
> --<br>
> Best regards,<br>
> Guido<br>
<br>
</div></div>> From b1888cc5a96a8fd32b2fa57bfce8f013157df742 Mon Sep 17 00:00:00 2001<br>
> From: Guido Lerch <<a href="mailto:guido.lerch@gmail.com">guido.lerch@gmail.com</a>><br>
> Date: Wed, 21 Oct 2015 23:35:41 +0200<br>
> Subject: [PATCH] Fixing build warning about freediving<br>
><br>
> This just fixes an issue with freediving not being with a switch statement<br>
> that was a little annoying.<br>
><br>
> location: profice.c<br>
> function: plot_string<br>
><br>
> Signed-off-by: Guido Lerch <<a href="mailto:guido.lerch@gmail.com">guido.lerch@gmail.com</a>><br>
> ---<br>
>  profile.c | 3 +++<br>
>  1 file changed, 3 insertions(+)<br>
><br>
> diff --git a/profile.c b/profile.c<br>
> index 55cf629..4bfb5ff 100644<br>
> --- a/profile.c<br>
> +++ b/profile.c<br>
> @@ -1173,6 +1173,9 @@ static void plot_string(struct plot_info *pi, struct plot_data *entry, struct me<br>
>               case AIR:<br>
>                       /* nothing */<br>
>                       break;<br>
> +             case FREEDIVING:<br>
> +                     /* nothing */<br>
> +                     break;<br>
>               }<br>
>       }<br>
>       if (entry->stopdepth) {<br>
<span class="HOEnZb"><font color="#888888">> --<br>
> 2.3.8 (Apple Git-58)<br>
><br>
<br>
> _______________________________________________<br>
> subsurface mailing list<br>
> <a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.org</a><br>
> <a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Best regards,<div>Guido</div></div></div>
</div>