summaryrefslogtreecommitdiffstats
path: root/source4/lib/registry/patchfile.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-11-05 23:09:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:48 -0500
commit51597d878049daa37fc107d4986b5c558ca381d0 (patch)
tree1e78a722e3ca5c118c1c31e316e02b0f1014a6aa /source4/lib/registry/patchfile.c
parent2dcb73aed8cc0f5c25f5f009eef0f91c076bae4d (diff)
downloadsamba-51597d878049daa37fc107d4986b5c558ca381d0.tar.gz
samba-51597d878049daa37fc107d4986b5c558ca381d0.tar.xz
samba-51597d878049daa37fc107d4986b5c558ca381d0.zip
r11526: And another warning...
(This used to be commit 16467008c64d84f29bec0ea45767bb1050726b34)
Diffstat (limited to 'source4/lib/registry/patchfile.c')
-rw-r--r--source4/lib/registry/patchfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/patchfile.c b/source4/lib/registry/patchfile.c
index cdf35c7b70..dd118c780f 100644
--- a/source4/lib/registry/patchfile.c
+++ b/source4/lib/registry/patchfile.c
@@ -257,7 +257,7 @@ struct reg_diff *reg_diff_load(TALLOC_CTX *ctx, const char *fn)
struct reg_diff *diff;
int fd;
char *line, *p, *q;
- struct reg_diff_key *curkey;
+ struct reg_diff_key *curkey = NULL;
struct reg_diff_value *curval;
fd = open(fn, O_RDONLY, 0);