diff options
author | Michael Adam <obnox@samba.org> | 2012-04-12 17:46:02 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-04-25 14:31:10 +0200 |
commit | 97bf05871ad384fd53f04b92489934fef1e42d63 (patch) | |
tree | 82bbcdfc5e8dc81bebc1a81b491eda5ac361fbdd | |
parent | 8ddc2aa0e1734f00f120c4ac7a0e2ebbaa888f11 (diff) | |
download | samba-97bf05871ad384fd53f04b92489934fef1e42d63.tar.gz samba-97bf05871ad384fd53f04b92489934fef1e42d63.tar.bz2 samba-97bf05871ad384fd53f04b92489934fef1e42d63.zip |
s3:registry: untangle assignment from check in reg_deletevalue()
Signed-off-by: Andreas Schneider <asn@samba.org>
-rw-r--r-- | source3/registry/reg_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c index 155fc96a5f..20ece83075 100644 --- a/source3/registry/reg_api.c +++ b/source3/registry/reg_api.c @@ -802,7 +802,8 @@ WERROR reg_deletevalue(struct registry_key *key, const char *name) return WERR_ACCESS_DENIED; } - if (!W_ERROR_IS_OK(err = fill_value_cache(key))) { + err = fill_value_cache(key); + if (!W_ERROR_IS_OK(err)) { return err; } |