[PATCH vkd3d 3/6] build: Enable -Wimplicit-fallthrough.

Michael Stefaniuc mstefani at winehq.org
Tue Aug 6 16:04:11 CDT 2019


On 8/6/19 3:54 PM, Henri Verbeet wrote:
> On Mon, 5 Aug 2019 at 20:34, Józef Kucia <joseph.kucia at gmail.com> wrote:
>>  configure.ac       | 1 +
>>  libs/vkd3d/utils.c | 2 ++
>>  2 files changed, 3 insertions(+)
>>
> I guess. I can't say I care much for the warning or the fix.

Static code analyzers including Coverity complain about implicit
fall-through. The comment seems to have established as the de-facto
standard to silence those warnings.

Of course this particular case it obvious for the casual reader but
there are other cases were the comment helps the human reader too.


bye
	michael




More information about the wine-devel mailing list