[alsa-devel] [PATCH 2/2] ALSA: HDA: patch_hdmi: remove warnings with empty body

Takashi Iwai tiwai at suse.de
Tue Jan 14 07:52:35 CET 2020


On Mon, 13 Jan 2020 22:14:05 +0100,
Pierre-Louis Bossart wrote:
> 
> make W=1 reports the following warnings, fix as suggested
> 
> sound/pci/hda/patch_hdmi.c: In function ‘hdmi_non_intrinsic_event’:
> sound/pci/hda/patch_hdmi.c:824:3: warning: suggest braces around empty
> body in an ‘if’ statement [-Wempty-body]
>   824 |   ;
>       |   ^
> sound/pci/hda/patch_hdmi.c:826:3: warning: suggest braces around empty
> body in an ‘if’ statement [-Wempty-body]
>   826 |   ;
>       |   ^
> 
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list