mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r11451: Fix -O1 "might be using uninitialized" errors.
Jeremy.
This commit is contained in:
parent
f22822790c
commit
cab76c3c33
@ -31,7 +31,7 @@ ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope
|
||||
const char *expr,
|
||||
const char **attrs, void **res)
|
||||
{
|
||||
ADS_STATUS status;
|
||||
ADS_STATUS status = ADS_SUCCESS;
|
||||
int count = 3;
|
||||
char *bp;
|
||||
|
||||
|
@ -799,7 +799,7 @@ NTSTATUS _samr_query_dispinfo(pipes_struct *p, SAMR_Q_QUERY_DISPINFO *q_u,
|
||||
|
||||
SAM_DISPINFO_CTR *ctr;
|
||||
uint32 temp_size=0, total_data_size=0;
|
||||
NTSTATUS disp_ret;
|
||||
NTSTATUS disp_ret = NT_STATUS_UNSUCCESSFUL;
|
||||
uint32 num_account = 0;
|
||||
enum remote_arch_types ra_type = get_remote_arch();
|
||||
int max_sam_entries = (ra_type == RA_WIN95) ? MAX_SAM_ENTRIES_W95 : MAX_SAM_ENTRIES_W2K;
|
||||
|
@ -5126,7 +5126,7 @@ int reply_lockingX(connection_struct *conn, char *inbuf, char *outbuf,
|
||||
(locktype & LOCKING_ANDX_LARGE_FILES)?True:False;
|
||||
BOOL err;
|
||||
BOOL my_lock_ctx = False;
|
||||
NTSTATUS status;
|
||||
NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
|
||||
|
||||
START_PROFILE(SMBlockingX);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user