1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/registry
Noel Power 963f58fb62 s3/registry: clang: Fix 'initialization value is never read'
Fixes:

source3/registry/reg_backend_db.c:853:9: warning: Value stored to 'result' during its initialization is never read <--[clang]
        WERROR result = WERR_OK;
               ^~~~~~   ~~~~~~~

source3/registry/reg_backend_db.c:1677:2: warning: Value stored to 'len' is never read <--[clang]
        len = 0;
        ^     ~
2 warnings generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2019-07-16 22:52:25 +00:00
..
tests registry: add a missing include 2019-05-27 14:29:36 +00:00
reg_api_util.c werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/registry/ 2016-09-28 00:04:22 +02:00
reg_api_util.h
reg_api.c s3/registry: clang: Fix 'initialization value is never read' 2019-07-16 22:52:25 +00:00
reg_api.h
reg_backend_current_version.c
reg_backend_db.c s3/registry: clang: Fix 'initialization value is never read' 2019-07-16 22:52:25 +00:00
reg_backend_db.h
reg_backend_hkpt_params.c
reg_backend_netlogon_params.c
reg_backend_perflib.c
reg_backend_printing.c
reg_backend_prod_options.c
reg_backend_shares.c
reg_backend_smbconf.c
reg_backend_tcpip_params.c
reg_cachehook.c werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/registry/ 2016-09-28 00:04:22 +02:00
reg_cachehook.h
reg_db.h
reg_dispatcher.c werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/registry/ 2016-09-28 00:04:18 +02:00
reg_dispatcher.h
reg_format.c s3:registry: Fix size types and length calculations 2018-03-21 04:25:39 +01:00
reg_format.h
reg_import.c s3/registry: fix various 'cast between incompatible function' warnings 2019-05-10 01:15:19 +00:00
reg_import.h
reg_init_basic.c
reg_init_basic.h
reg_init_full.c s3-rpc_cli: add winreg_add_core_driver() 2017-05-09 16:43:13 +02:00
reg_init_full.h
reg_init_smbconf.c
reg_init_smbconf.h
reg_objects.c registry: Fix a typo 2018-10-08 22:17:09 +02:00
reg_objects.h
reg_parse_dox.cfg
reg_parse_internal.c s3:registry: Use C99 initializer for BOM 2019-01-28 10:29:23 +01:00
reg_parse_internal.h
reg_parse_prs.c
reg_parse_prs.h
reg_parse.c s3: net: Consider unprocessed in input buffer 2019-06-11 14:01:20 +00:00
reg_parse.h s3/registry: Fix func cast error (diff in params size_t vs uint32) 2019-05-10 01:15:18 +00:00
reg_perfcount.c s3:registry: Avoid a double-free in reg_perfcount 2018-10-19 23:11:26 +02:00
reg_perfcount.h
reg_util_internal.c
reg_util_internal.h
reg_util_token.c
reg_util_token.h
regfio.c regfio: Return instead of assert for short blocks 2019-06-20 23:40:16 +00:00
regfio.h