qemu-trivial
[Top][All Lists]
Advanced

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

Re: [PATCH 2/3] hw/timer/sh_timer: Silence warnings about missing fallth


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 2/3] hw/timer/sh_timer: Silence warnings about missing fallthrough statements
Date: Sat, 24 Oct 2020 22:10:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1

On 10/20/20 5:39 PM, Thomas Huth wrote:
When compiling with -Werror=implicit-fallthrough, gcc complains about
missing fallthrough annotations in this file. Looking at the code,
the fallthrough is very likely intended here, so add some comments
to silence the compiler warnings.


Fixes: cd1a3f6840e ("Stand-alone TMU emulation code")

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
  hw/timer/sh_timer.c | 4 ++++
  1 file changed, 4 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

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