Add the fallthrough attribute to notify gcc7 that it's on purpose.

Signed-off-by: Gary Lin <glin@suse.com>
Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
This commit is contained in:
Nigel Croxon 2017-05-31 06:53:49 -04:00
parent 08b72e8d99
commit 8d8a3b5dff

View File

@ -1131,6 +1131,9 @@ Returns:
case 'X':
Item.Width = Item.Long ? 16 : 8;
Item.Pad = '0';
#if __GNUC__ >= 7
__attribute__ ((fallthrough));
#endif
case 'x':
ValueToHex (
Item.Scratch,