From: Alistair Leslie-Hughes leslie_alistair@hotmail.com
In the generate code, Converity is reporting __frame->code unitilized in the failed case. When we initialize the object, then __f will also point to a fully initizliaed structure. --- tools/widl/proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c index a80aa5d77fe..a8d46e1869d 100644 --- a/tools/widl/proxy.c +++ b/tools/widl/proxy.c @@ -221,7 +221,7 @@ static void gen_proxy(type_t *iface, const var_t *func, int idx, print_proxy( ")\n"); print_proxy( "{\n"); indent ++; - print_proxy( "struct __proxy_frame __f, * const __frame = &__f;\n" ); + print_proxy( "struct __proxy_frame __f = {0}, * const __frame = &__f;\n" ); /* local variables */ if (has_ret) { print_proxy( "%s", "" );