summaryrefslogtreecommitdiff
path: root/source/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
commit6106d48a5c94e7c1f3a7234807e43aca0a51fa62 (patch)
treeb3538b32ba7ddb0074a18758c702d731c4fbf3eb /source/rpc_client
parent5a99f59d7514edadbab081dc0c5c28a6ea26972a (diff)
downloadsamba-6106d48a5c94e7c1f3a7234807e43aca0a51fa62.tar.gz
Fix a (bogus) uninitialized variable warning
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index 2705fd8e4ee..8f410379ab4 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/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)) {