Appearance.c Removed fallthrough warning
commit3dce639aae4662d934915fb98181019a1b619fc0
authorRodolfo García Peñas (kix) <kix@kix.es>
Wed, 19 Jun 2019 19:11:06 +0000 (19 21:11 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 20 Jun 2019 21:04:31 +0000 (20 22:04 +0100)
tree7eaddae973ee7086f098840f22ca594d1fe39b56
parent00dffbe317ac31b20ca21cd3c3655ac9fb733198
Appearance.c Removed fallthrough warning

This patch adds some comments to remove the falthrough warning.

Appearance.c: In function ‘renderTexture’:
../WINGs/WINGs/WUtil.h:230:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
 #define wwarning(fmt, args...) __wmessage( __func__, __FILE__, __LINE__, WMESSAGE_TYPE_WARNING, fmt, ## args)
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Appearance.c:675:4: note: in expansion of macro ‘wwarning’
    wwarning(_("unknown direction in '%s', falling back to diagonal"), type);
    ^~~~~~~~
Appearance.c:676:3: note: here
   case 'D':
   ^~~~

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
WPrefs.app/Appearance.c