summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-11-21 15:56:30 +0100
committerGünther Deschner <gd@samba.org>2008-11-21 15:57:14 +0100
commit98e1dd64ab5a5a0f9298684e09ab4637606b5b7c (patch)
tree942ebf9203b9d3b01974944ca3466bfed3964285 /source3/libnet
parent35ac6236bdf560f8ea3e4c2e268cdb0c9c71e1cd (diff)
downloadsamba-98e1dd64ab5a5a0f9298684e09ab4637606b5b7c.tar.gz
samba-98e1dd64ab5a5a0f9298684e09ab4637606b5b7c.tar.bz2
samba-98e1dd64ab5a5a0f9298684e09ab4637606b5b7c.zip
s3-libnetjoin: fix build warning.
Guenther
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_join.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index bb59a2b0a2..bd127f8607 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -1690,7 +1690,7 @@ static WERROR libnet_join_check_config(TALLOC_CTX *mem_ctx,
}
if (!valid_security) {
- const char *sec;
+ const char *sec = NULL;
switch (lp_security()) {
case SEC_SHARE: sec = "share"; break;
case SEC_USER: sec = "user"; break;