Merge pull request #1835 from danielinux/fix-fall-through-define-typo

Fixed typo in the definition of macro FALL_THROUGH
This commit is contained in:
David Garske
2018-09-18 07:01:15 -07:00
committed by GitHub

View File

@ -187,7 +187,7 @@
/* GCC 7 has new switch() fall-through detection */
#if defined(__GNUC__)
#if ((__GNUC__ > 7) || ((__GNUC__ == 7) && (__GNUC_MINOR__ >= 1)))
#define FALL_THROUGH __attribute__ ((fallthrough));
#define FALL_THROUGH __attribute__ ((fallthrough))
#endif
#endif
#ifndef FALL_THROUGH