diff options
author | Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp> | 2024-01-31 09:43:47 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@signal-slot.co.jp> | 2024-02-06 20:17:18 +0900 |
commit | bd6d7d4d74e34b96217388c50f14dbd0df620be6 (patch) | |
tree | 521f2f1a9dfdc13e25e2f0d51e606288cf7f047a /src/tools/moc/moc.cpp | |
parent | 8b601e6dbecdd85b77e0a7796dc3e5b908dfb5ec (diff) |
Remove extra semi-colons
Change-Id: I92fddb36cd136fd1bd627955f15d0559b9942d7e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/tools/moc/moc.cpp')
-rw-r--r-- | src/tools/moc/moc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/moc/moc.cpp b/src/tools/moc/moc.cpp index d39ee7018a..3cbe331f14 100644 --- a/src/tools/moc/moc.cpp +++ b/src/tools/moc/moc.cpp @@ -436,7 +436,7 @@ bool Moc::parseFunction(FunctionDef *def, bool inMacro) // note that testFunctionAttribute is handled further below, // and revisions and attributes must come first while (testForFunctionModifiers(def)) {} - Type tempType = parseType();; + Type tempType = parseType(); while (!tempType.name.isEmpty() && lookup() != LPAREN) { if (testFunctionAttribute(def->type.firstToken, def)) ; // fine @@ -554,7 +554,7 @@ bool Moc::parseMaybeFunction(const ClassDef *cdef, FunctionDef *def) // but otherwise we end up with misparses if (def->isSlot || def->isSignal || def->isInvokable) while (testForFunctionModifiers(def)) {} - Type tempType = parseType();; + Type tempType = parseType(); while (!tempType.name.isEmpty() && lookup() != LPAREN) { if (testFunctionAttribute(def->type.firstToken, def)) ; // fine |