Skip to content

Commit 64575b3

Browse files
committed
Silence some more gcc fallthrough warnings (no real issues)
1 parent 8fc37bf commit 64575b3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/app/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ void myMessageOutput( QtMsgType type, const char *msg )
384384
dumpBacktrace( 256 );
385385
abort(); // deliberately dump core
386386
#endif
387+
break; // silence warnings
387388
}
388389

389390
#if QT_VERSION >= 0x050500

src/providers/postgres/qgspostgresexpressioncompiler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ QgsSqlExpressionCompiler::Result QgsPostgresExpressionCompiler::compileNode( con
191191
return Complete;
192192
}
193193
#endif
194+
FALLTHROUGH;
194195
}
195196

196197
default:

0 commit comments

Comments
 (0)