path: root/src/plugins/platforms/ios/
diff options
authorKurt Pattyn <>2014-04-15 09:57:15 +0200
committerThe Qt Project <>2014-05-02 17:36:45 +0200
commitbeb7258a56b6ec76531b73cc07ee30132a3f548f (patch)
treee5b28408b394742f7f9c5096868a2b6ffa5e09d6 /src/plugins/platforms/ios/
parenta006ede6e785b288d6955490217a6da46e62a7b5 (diff)
Add default case to switch statements
When compiling with the -Wswitch-default flag, the compiler spits warnings for the moc generated files. In certain development environments (e.g. where MISRA rules have to be followed) every switch statement needs to have a default case. Unfortunately the moc generated files contain switch statements without default case. This patch adds a default statement to all switch statements that are generated by the moc compiler. Change-Id: I8f3d81e3463fce4d3abf2ea5d0fa8727a7d9ba2e Reviewed-by: Olivier Goffart <> Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/plugins/platforms/ios/')
0 files changed, 0 insertions, 0 deletions