From 4183b2ac3832cdc2055d7eb3ed7121a9ea91085c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 2 Dec 2004 04:51:56 +0000 Subject: r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile (This used to be commit 0928b1f5b68c858922c3ea6c27ed03b5091c6221) --- source4/rpc_server/dcom/remact.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/rpc_server/dcom/remact.c') diff --git a/source4/rpc_server/dcom/remact.c b/source4/rpc_server/dcom/remact.c index ee16d2ce10..30e508d65b 100644 --- a/source4/rpc_server/dcom/remact.c +++ b/source4/rpc_server/dcom/remact.c @@ -37,9 +37,9 @@ struct dcom_interface_pointer *dcom_interface_pointer_by_ipid(struct GUID *ipid) */ static WERROR RemoteActivation(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct RemoteActivation *r) { - struct CreateInstance *cr; + struct CreateInstance *cr = NULL; /*struct Release *ur;*/ - struct dcom_interface_p *o; + struct dcom_interface_p *o = NULL; int i; /* FIXME: CoGetClassObject() */ -- cgit