Fix "variable might be used uninitialized" message.
authorJeremy Allison <jra@samba.org>
Thu, 26 Jun 2008 19:56:26 +0000 (12:56 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 26 Jun 2008 19:56:26 +0000 (12:56 -0700)
Jeremy.

source/rpcclient/cmd_netlogon.c

index c6ace9ae541757d2273fad07759607358f488699..7fde2a8772bce92d52bfc157046592d21da815c5 100644 (file)
@@ -217,7 +217,7 @@ static WERROR cmd_netlogon_dsr_getdcnameex2(struct rpc_pipe_client *cli,
        WERROR result;
        uint32 flags = DS_RETURN_DNS_NAME;
        const char *server_name = cli->cli->desthost;
-       const char *domain_name;
+       const char *domain_name = NULL;
        const char *client_account = NULL;
        uint32 mask = 0;
        const char *site_name = NULL;