From: Samuel Cabrero Date: Thu, 3 Oct 2019 17:44:10 +0000 (+0200) Subject: librpc:core: Initialize static variable X-Git-Tag: talloc-2.3.1~294 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=73948df2f1a5dbef0f073933be549e4320013913;p=thirdparty%2Fsamba.git librpc:core: Initialize static variable Signed-off-by: Samuel Cabrero Reviewed-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- diff --git a/librpc/rpc/dcesrv_core.c b/librpc/rpc/dcesrv_core.c index 132649665df..bbb52a5bb43 100644 --- a/librpc/rpc/dcesrv_core.c +++ b/librpc/rpc/dcesrv_core.c @@ -2349,7 +2349,7 @@ _PUBLIC_ NTSTATUS dcesrv_init_context(TALLOC_CTX *mem_ctx, static struct ep_server { struct dcesrv_endpoint_server *ep_server; } *ep_servers = NULL; -static int num_ep_servers; +static int num_ep_servers = 0; /* register a DCERPC endpoint server.