Remove trailing comma in enum
Spotted by ICC: qfreelist_p.h(127): warning #271: trailing comma is nonstandard BlockCount = 4, ^ Change-Id: Ib64d1d19ca0514e7582a295da48cbf6705aa8c44 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
This commit is contained in:
parent
46da68c0bf
commit
03b95247a1
2
src/3rdparty/harfbuzz/src/harfbuzz-thai.c
vendored
2
src/3rdparty/harfbuzz/src/harfbuzz-thai.c
vendored
@ -164,7 +164,7 @@ static int tis620_2[128] = {
|
|||||||
enum ThaiFontType {
|
enum ThaiFontType {
|
||||||
TIS,
|
TIS,
|
||||||
WIN,
|
WIN,
|
||||||
MAC,
|
MAC
|
||||||
};
|
};
|
||||||
|
|
||||||
static int thai_get_glyph_index (ThaiFontType font_type, unsigned char c)
|
static int thai_get_glyph_index (ThaiFontType font_type, unsigned char c)
|
||||||
|
@ -56,7 +56,7 @@ struct QtTimerIdFreeListConstants : public QFreeListDefaultConstants
|
|||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
InitialNextValue = 1,
|
InitialNextValue = 1,
|
||||||
BlockCount = 6,
|
BlockCount = 6
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int Sizes[BlockCount];
|
static const int Sizes[BlockCount];
|
||||||
|
@ -124,7 +124,7 @@ struct Q_AUTOTEST_EXPORT QFreeListDefaultConstants
|
|||||||
SerialMask = ~IndexMask & ~0x80000000,
|
SerialMask = ~IndexMask & ~0x80000000,
|
||||||
SerialCounter = IndexMask + 1,
|
SerialCounter = IndexMask + 1,
|
||||||
MaxIndex = IndexMask,
|
MaxIndex = IndexMask,
|
||||||
BlockCount = 4,
|
BlockCount = 4
|
||||||
};
|
};
|
||||||
|
|
||||||
static const int Sizes[BlockCount];
|
static const int Sizes[BlockCount];
|
||||||
|
Loading…
Reference in New Issue
Block a user