r14085: Fix coverity bg #152, uninit'ed var.
authorJim McDonough <jmcd@samba.org>
Thu, 9 Mar 2006 18:03:54 +0000 (18:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:11:11 +0000 (11:11 -0500)
(This used to be commit d8e69c18e0d34c99525080b3afaf2778be3a5ec2)

source3/utils/net_rpc_join.c

index 1f68da0d754c9ac85d972014acebc26016a5fdfe..ddd1623d8b729597eb5242f1de309f4eb6733c7e 100644 (file)
@@ -137,7 +137,7 @@ int net_rpc_join_newstyle(int argc, const char **argv)
 
        NTSTATUS result;
        int retval = 1;
-       char *domain;
+       char *domain = NULL;
        uint32 num_rids, *name_types, *user_rids;
        uint32 flags = 0x3e8;
        char *acct_name;