winebuild: Avoid dead code in BuildCallFrom16Core (Coverity).
This commit is contained in:
parent
96e13da900
commit
355a0aef8b
|
@ -224,6 +224,7 @@ static void BuildCallFrom16Core( int reg_func, int thunk )
|
||||||
output( "\t.byte 0x66\n" );
|
output( "\t.byte 0x66\n" );
|
||||||
output( "\tlret\n" );
|
output( "\tlret\n" );
|
||||||
|
|
||||||
|
output_function_size( "__wine_call_from_16_thunk" );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -333,6 +334,8 @@ static void BuildCallFrom16Core( int reg_func, int thunk )
|
||||||
output( "\tpopl %%ds\n" );
|
output( "\tpopl %%ds\n" );
|
||||||
output( "\tpopfl\n" );
|
output( "\tpopfl\n" );
|
||||||
output( "\tlret\n" );
|
output( "\tlret\n" );
|
||||||
|
|
||||||
|
output_function_size( "__wine_call_from_16_regs" );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -352,10 +355,9 @@ static void BuildCallFrom16Core( int reg_func, int thunk )
|
||||||
|
|
||||||
/* Return to return stub which will return to caller */
|
/* Return to return stub which will return to caller */
|
||||||
output( "\tlret $12\n" );
|
output( "\tlret $12\n" );
|
||||||
|
|
||||||
|
output_function_size( "__wine_call_from_16" );
|
||||||
}
|
}
|
||||||
if (thunk) output_function_size( "__wine_call_from_16_thunk" );
|
|
||||||
else if (reg_func) output_function_size( "__wine_call_from_16_regs" );
|
|
||||||
else output_function_size( "__wine_call_from_16" );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue