summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@samba.org>2019-10-03 19:44:10 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-10-18 16:07:37 +0000
commit73948df2f1a5dbef0f073933be549e4320013913 (patch)
tree0cab24750e9deb01742d5865fda0583e23087c0e /librpc
parent6a6546b565793341f3be6a6fcf30a40a186f9ae9 (diff)
downloadsamba-73948df2f1a5dbef0f073933be549e4320013913.tar.gz
librpc:core: Initialize static variable
Signed-off-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/rpc/dcesrv_core.c2
1 files changed, 1 insertions, 1 deletions
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.