Module: wine Branch: master Commit: 1aa6a900e83e410602c49e085cb95d13935b74f9 URL: https://gitlab.winehq.org/wine/wine/-/commit/1aa6a900e83e410602c49e085cb95d1...
Author: Alistair Leslie-Hughes leslie_alistair@hotmail.com Date: Mon Apr 3 18:14:53 2023 +1000
widl: Suppress a coverity warning.
Knowning that frame->code will be set when the exception handler is called. Suppress this coverity issue.
---
tools/widl/proxy.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c index a80aa5d77fe..3d55cd73ee7 100644 --- a/tools/widl/proxy.c +++ b/tools/widl/proxy.c @@ -298,6 +298,7 @@ static void gen_proxy(type_t *iface, const var_t *func, int idx, if (has_ret) { indent++; proxy_free_variables( type_function_get_args(func->declspec.type), "" ); + print_proxy( "/* coverity[uninit_use_in_call:SUPPRESS] */\n" ); print_proxy( "_RetVal = NdrProxyErrorHandler(RpcExceptionCode());\n" ); indent--; }