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:
Thiago Macieira 2012-08-14 13:15:14 +02:00 committed by Qt by Nokia
parent 46da68c0bf
commit 03b95247a1
3 changed files with 3 additions and 3 deletions

View File

@ -164,7 +164,7 @@ static int tis620_2[128] = {
enum ThaiFontType {
TIS,
WIN,
MAC,
MAC
};
static int thai_get_glyph_index (ThaiFontType font_type, unsigned char c)

View File

@ -56,7 +56,7 @@ struct QtTimerIdFreeListConstants : public QFreeListDefaultConstants
enum
{
InitialNextValue = 1,
BlockCount = 6,
BlockCount = 6
};
static const int Sizes[BlockCount];

View File

@ -124,7 +124,7 @@ struct Q_AUTOTEST_EXPORT QFreeListDefaultConstants
SerialMask = ~IndexMask & ~0x80000000,
SerialCounter = IndexMask + 1,
MaxIndex = IndexMask,
BlockCount = 4,
BlockCount = 4
};
static const int Sizes[BlockCount];