Fixes:
source3/rpc_client/cli_winreg.c:728:11: warning: Value stored to 'status' during its initialization is never read <--[clang]
NTSTATUS status = NT_STATUS_OK;
^~~~~~ ~~~~~~~~~~~~
/source3/rpc_client/cli_winreg.c:897:11: warning: Value stored to 'status' during its initialization is never read <--[clang]
NTSTATUS status = NT_STATUS_OK;
^~~~~~ ~~~~~~~~~~~~
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
WERROR result = WERR_OK;
- NTSTATUS status = NT_STATUS_OK;
+ NTSTATUS status;
tmp_ctx = talloc_stackframe();
if (tmp_ctx == NULL) {
struct policy_handle key_hnd;
struct winreg_String wkey = { 0, };
WERROR result = WERR_OK;
- NTSTATUS status = NT_STATUS_OK;
+ NTSTATUS status;
uint32_t i;
ZERO_STRUCT(key_hnd);