remove a test for null that we dont need since the variable can not be

null at this point


svn path=/trunk/; revision=23045
This commit is contained in:
Ronnie Sahlberg 2007-10-02 08:27:39 +00:00
parent cca87411fa
commit 880bab108c
2 changed files with 2 additions and 6 deletions

View File

@ -1865,9 +1865,7 @@ cnf_dissect_sec_desc_buf_(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_t
}
offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep,
hf_samr_sec_desc_buf_len, &len);
if(di){
dcv = (dcerpc_call_value *)di->call_data;
}
dcv = (dcerpc_call_value *)di->call_data;
if(dcv){
polhnd = dcv->pol;
}

View File

@ -432,9 +432,7 @@ cnf_dissect_sec_desc_buf_(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_t
offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep,
hf_samr_sec_desc_buf_len, &len);
if(di){
dcv = (dcerpc_call_value *)di->call_data;
}
dcv = (dcerpc_call_value *)di->call_data;
if(dcv){
polhnd = dcv->pol;
}