summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_rpc_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index 3e13b12bd8..4e2118d1c1 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -442,7 +442,7 @@ static NTSTATUS rpc_conf_get_share(TALLOC_CTX *mem_ctx,
const char **val_names;
enum winreg_Type *types;
DATA_BLOB *data;
- struct winreg_String key;
+ struct winreg_String key = { 0, };
const char **multi_s = NULL;
const char *s = NULL;
struct smbconf_service tmp_share;