pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fallthrough in data-in.c


From: Ben Pfaff
Subject: Re: Fallthrough in data-in.c
Date: Sat, 23 Sep 2017 19:49:32 -0700
User-agent: Mutt/1.5.23 (2014-03-12)

On Sat, Sep 23, 2017 at 09:19:51PM +0200, John Darrington wrote:
> gcc 7.1.0 is warning:
> 
> /home/john/pspp/src/data/data-in.c:1187:17: error: this statement may fall 
> through [-Werror=implicit-fallthrough=]
>            error = parse_time_delimiter (i);
>            ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> /home/john/pspp/src/data/data-in.c:1188:9: note: here
>          case ' ':
>          ^~~~

Thanks for the report.  I fixed this.

I also installed both Clang 3.8 and GCC 7.2 and fixed all the warnings
that each of them reported.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]