forked from enlightenment/efl
libunibreak - warn - add fallthrough attributes to minimize warnings
This commit is contained in:
parent
8292e8c937
commit
df02d9a8e2
|
@ -209,6 +209,9 @@ static void set_wordbreaks(
|
|||
posLast = posCur;
|
||||
break;
|
||||
}
|
||||
#if __has_attribute(fallthrough)
|
||||
__attribute__((fallthrough));
|
||||
#endif
|
||||
/* Fall off */
|
||||
|
||||
case WBP_Newline:
|
||||
|
@ -322,6 +325,9 @@ static void set_wordbreaks(
|
|||
wbcSeqStart = wbcCur;
|
||||
posLast = posCur;
|
||||
}
|
||||
#if __has_attribute(fallthrough)
|
||||
__attribute__((fallthrough));
|
||||
#endif
|
||||
/* No break on purpose */
|
||||
case WBP_MidNumLet:
|
||||
if (((wbcLast == WBP_ALetter) ||
|
||||
|
|
Loading…
Reference in New Issue