libgpo: Fix compiler errors when building with --address-sanitizer
[gd/samba-autobuild/.git] / libgpo / gpo_fetch.c
index 07141d42cac738a9a673adbc32cf7a1c77c65a0c..97ecd62d9d7843a80097cb283b30b027f7800d6e 100644 (file)
@@ -156,7 +156,7 @@ NTSTATUS gpo_fetch_files(TALLOC_CTX *mem_ctx,
        NTSTATUS result;
        char *server, *service, *nt_path, *unix_path;
        char *nt_ini_path, *unix_ini_path;
-       struct cli_state *cli;
+       struct cli_state *cli = NULL;
 
 
        result = gpo_explode_filesyspath(mem_ctx, cache_dir, gpo->file_sys_path,