summaryrefslogtreecommitdiffstats
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-23 15:09:21 +0200
committerVolker Lendecke <vl@samba.org>2008-05-23 15:37:05 +0200
commit34104dfc21e85dd37f96ca7d381d5b033b62936e (patch)
tree26a2418c18024c8cec8f535331222b443723e93f /source3/rpc_client
parent7322072962180f94551b525bf97031edf4c18c99 (diff)
downloadsamba-34104dfc21e85dd37f96ca7d381d5b033b62936e.tar.gz
samba-34104dfc21e85dd37f96ca7d381d5b033b62936e.tar.xz
samba-34104dfc21e85dd37f96ca7d381d5b033b62936e.zip
Fix a (bogus) uninitialized variable warning
(This used to be commit 6106d48a5c94e7c1f3a7234807e43aca0a51fa62)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 2705fd8e4ee..8f410379ab4 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -2702,7 +2702,7 @@ NTSTATUS rpc_pipe_open_tcp(TALLOC_CTX *mem_ctx, const char *host,
struct rpc_pipe_client **presult)
{
NTSTATUS status;
- uint16_t port;
+ uint16_t port = 0;
status = rpc_pipe_get_tcp_port(host, abstract_syntax, &port);
if (!NT_STATUS_IS_OK(status)) {