summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index 8eaabb3cda..8ea31e54f9 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -165,7 +165,7 @@ WERROR libnetapi_open_pipe(struct libnetapi_ctx *ctx,
const struct ndr_syntax_id *interface,
struct rpc_pipe_client **presult)
{
- struct rpc_pipe_client *result;
+ struct rpc_pipe_client *result = NULL;
NTSTATUS status;
if (!cli || !presult) {