diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-10-02 08:27:39 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-10-02 08:27:39 +0000 |
commit | 880bab108c4177e5b84de1dfbd4938ee9755eb47 (patch) | |
tree | 10f47a8c62d8d366f936def4eb7e9b512542628f /epan/dissectors/packet-dcerpc-samr.c | |
parent | cca87411fa84e423f44bd57872fa5d94dfe226e1 (diff) |
remove a test for null that we dont need since the variable can not be
null at this point
svn path=/trunk/; revision=23045
Diffstat (limited to 'epan/dissectors/packet-dcerpc-samr.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-samr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dcerpc-samr.c b/epan/dissectors/packet-dcerpc-samr.c index c28a2b3c30..7f03973afd 100644 --- a/epan/dissectors/packet-dcerpc-samr.c +++ b/epan/dissectors/packet-dcerpc-samr.c @@ -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; } |