Author: cwittich
Date: Fri Feb 6 07:33:57 2009
New Revision: 39440
URL:
http://svn.reactos.org/svn/reactos?rev=39440&view=rev
Log:
revert 37001 (Initialize _RetVal properly in order to avoid compiler warnings) as we have
PSEH2 now and don't suffer from this gcc bug anymore
Modified:
trunk/reactos/tools/widl/proxy.c
Modified: trunk/reactos/tools/widl/proxy.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/proxy.c?rev=394…
==============================================================================
--- trunk/reactos/tools/widl/proxy.c [iso-8859-1] (original)
+++ trunk/reactos/tools/widl/proxy.c [iso-8859-1] Fri Feb 6 07:33:57 2009
@@ -329,12 +329,7 @@
if (has_ret) {
print_proxy( "" );
write_type_decl_left(proxy, type_function_get_rettype(func->type));
-
- /* Initialize _RetVal properly in order to avoid compiler warnings */
- if (is_ptr(type_function_get_rettype(func->type)) ||
is_array(type_function_get_rettype(func->type)))
- print_proxy(" _RetVal = NULL;\n");
- else
- print_proxy(" _RetVal = 0;\n");
+ print_proxy(" _RetVal;\n");
}
print_proxy( "RPC_MESSAGE _RpcMessage;\n" );
if (has_ret) {