diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-02 04:51:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:16 -0500 |
commit | 4183b2ac3832cdc2055d7eb3ed7121a9ea91085c (patch) | |
tree | 880492048be3a307eb82ebc663b4a7d3805dd337 /source4/lib/registry/reg_backend_w95 | |
parent | 3b863542dca8e638cdba6daad043f224d81fcd6a (diff) | |
download | samba-4183b2ac3832cdc2055d7eb3ed7121a9ea91085c.tar.gz samba-4183b2ac3832cdc2055d7eb3ed7121a9ea91085c.tar.bz2 samba-4183b2ac3832cdc2055d7eb3ed7121a9ea91085c.zip |
r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile
(This used to be commit 0928b1f5b68c858922c3ea6c27ed03b5091c6221)
Diffstat (limited to 'source4/lib/registry/reg_backend_w95')
-rw-r--r-- | source4/lib/registry/reg_backend_w95/reg_backend_w95.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/reg_backend_w95/reg_backend_w95.c b/source4/lib/registry/reg_backend_w95/reg_backend_w95.c index fb73e9052c..445d13a99c 100644 --- a/source4/lib/registry/reg_backend_w95/reg_backend_w95.c +++ b/source4/lib/registry/reg_backend_w95/reg_backend_w95.c @@ -320,7 +320,7 @@ static WERROR w95_get_value_by_id(TALLOC_CTX *mem_ctx, struct registry_key *k, i DWORD i; DWORD offset = 0; RGDB_KEY *rgdb_key = LOCN_RGDB_KEY((CREG *)k->hive->backend_data, rgkn_key->id.rgdb, rgkn_key->id.id); - RGDB_VALUE *curval; + RGDB_VALUE *curval = NULL; if(!rgdb_key) return WERR_FOOBAR; |