Marcus Meissner : winebuild: Mark up fallthrough switch cases (Coverity).
Alexandre Julliard
julliard at winehq.org
Thu Mar 31 12:43:44 CDT 2011
Module: wine
Branch: master
Commit: 7a0797a6a8b343f9fff1fb08f18fd925b09672c0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a0797a6a8b343f9fff1fb08f18fd925b09672c0
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Tue Mar 29 15:33:04 2011 +0200
winebuild: Mark up fallthrough switch cases (Coverity).
---
tools/winebuild/spec32.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c
index e16260a..2429982 100644
--- a/tools/winebuild/spec32.c
+++ b/tools/winebuild/spec32.c
@@ -200,9 +200,13 @@ static void output_relay_debug( DLLSPEC *spec )
switch (args)
{
default: output( "\tmovq %%%s,72(%%rsp)\n", is_float_arg( odp, 3 ) ? "xmm3" : "r9" );
+ /* fall through */
case 3: output( "\tmovq %%%s,64(%%rsp)\n", is_float_arg( odp, 2 ) ? "xmm2" : "r8" );
+ /* fall through */
case 2: output( "\tmovq %%%s,56(%%rsp)\n", is_float_arg( odp, 1 ) ? "xmm1" : "rdx" );
+ /* fall through */
case 1: output( "\tmovq %%%s,48(%%rsp)\n", is_float_arg( odp, 0 ) ? "xmm0" : "rcx" );
+ /* fall through */
case 0: break;
}
output( "\tleaq 40(%%rsp),%%r8\n" );
More information about the wine-cvs
mailing list