Silence implicit-fallthough warnings
Fixes Werror build with GCC 7. Change-Id: Ie0e9fb907af545b6c200558faaaf83b8ec058b7a Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
7adfe7494b
commit
6614f7754c
@ -197,6 +197,7 @@ Type Moc::parseType()
|
||||
prev();
|
||||
break;
|
||||
}
|
||||
Q_FALLTHROUGH();
|
||||
case CHAR:
|
||||
case SHORT:
|
||||
case INT:
|
||||
|
@ -68,8 +68,8 @@ public:
|
||||
inline QByteArray unquotedLexem() { return symbols.at(index-1).unquotedLexem();}
|
||||
inline const Symbol &symbol() { return symbols.at(index-1);}
|
||||
|
||||
void error(int rollback);
|
||||
void error(const char *msg = 0);
|
||||
Q_NORETURN void error(int rollback);
|
||||
Q_NORETURN void error(const char *msg = 0);
|
||||
void warning(const char * = 0);
|
||||
void note(const char * = 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user