diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-10 10:30:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:09 -0500 |
commit | cac69cdd743c8ce93631a0ddd37a8d3344ce8259 (patch) | |
tree | 790620434a4905b26ac6d1d6a057ce82f235f7c2 /source4 | |
parent | fbb301a72d48c531d6b564d87b23e6bf384fd13e (diff) | |
download | samba-cac69cdd743c8ce93631a0ddd37a8d3344ce8259.tar.gz samba-cac69cdd743c8ce93631a0ddd37a8d3344ce8259.tar.bz2 samba-cac69cdd743c8ce93631a0ddd37a8d3344ce8259.zip |
r18324: fixed a uninitialised variable
(This used to be commit 08562d6ebe6b2c48026f0d1e97ec4dd8ea215b2c)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/registry/reg_backend_nt4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/reg_backend_nt4.c b/source4/lib/registry/reg_backend_nt4.c index a9759b8e68..bf08bc6077 100644 --- a/source4/lib/registry/reg_backend_nt4.c +++ b/source4/lib/registry/reg_backend_nt4.c @@ -473,7 +473,7 @@ static WERROR regf_get_subkey_by_index (TALLOC_CTX *ctx, const struct registry_k { DATA_BLOB data; struct nk_block *nk = key->backend_data; - uint32_t key_off; + uint32_t key_off=0; if (idx >= nk->num_subkeys) return WERR_NO_MORE_ITEMS; |