winebuild: Remove dead code in BuildCallFrom16Core (Coverity)
Frédéric Delanoy
frederic.delanoy at gmail.com
Thu Nov 24 20:11:24 CST 2011
CID 1501
thunk == 0 on line 232 and doesn't change after that
---
tools/winebuild/relay.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tools/winebuild/relay.c b/tools/winebuild/relay.c
index 4fa256f..1044f77 100644
--- a/tools/winebuild/relay.c
+++ b/tools/winebuild/relay.c
@@ -353,8 +353,7 @@ static void BuildCallFrom16Core( int reg_func, int thunk )
/* Return to return stub which will return to caller */
output( "\tlret $12\n" );
}
- if (thunk) output_function_size( "__wine_call_from_16_thunk" );
- else if (reg_func) output_function_size( "__wine_call_from_16_regs" );
+ if (reg_func) output_function_size( "__wine_call_from_16_regs" );
else output_function_size( "__wine_call_from_16" );
}
--
1.7.7.2
More information about the wine-patches
mailing list