Gerald Pfeifer : rpcrt4: Initialize variable to avoid compiler warning.

Alexandre Julliard julliard at winehq.org
Thu Oct 25 08:38:44 CDT 2007


Module: wine
Branch: master
Commit: 826a6d09d4e58ff3f18d70b0b24a00f414d318fe
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=826a6d09d4e58ff3f18d70b0b24a00f414d318fe

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Wed Oct 24 14:33:39 2007 +0200

rpcrt4: Initialize variable to avoid compiler warning.

---

 dlls/rpcrt4/rpc_server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/rpcrt4/rpc_server.c b/dlls/rpcrt4/rpc_server.c
index b62954b..b8fc580 100644
--- a/dlls/rpcrt4/rpc_server.c
+++ b/dlls/rpcrt4/rpc_server.c
@@ -167,7 +167,7 @@ static void RPCRT4_process_packet(RpcConnection* conn, RpcPktHdr* hdr, RPC_MESSA
   RpcServerInterface* sif;
   RPC_DISPATCH_FUNCTION func;
   UUID *object_uuid;
-  RpcPktHdr *response;
+  RpcPktHdr *response = NULL;
   void *buf = msg->Buffer;
   RPC_STATUS status;
   BOOL exception;




More information about the wine-cvs mailing list