diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-10-02 08:21:25 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-10-02 08:21:25 +0000 |
commit | cca87411fa84e423f44bd57872fa5d94dfe226e1 (patch) | |
tree | 8ee403c2e7268762fcbf07a0c74484980dda6587 /epan/dissectors/packet-ctdb.c | |
parent | 0f31c30b4b3e6e377bb80a5e542cf20a35aefdd9 (diff) | |
download | wireshark-cca87411fa84e423f44bd57872fa5d94dfe226e1.tar.gz wireshark-cca87411fa84e423f44bd57872fa5d94dfe226e1.tar.bz2 wireshark-cca87411fa84e423f44bd57872fa5d94dfe226e1.zip |
get rid of a check for null we dont need
coverity 257
svn path=/trunk/; revision=23044
Diffstat (limited to 'epan/dissectors/packet-ctdb.c')
-rw-r--r-- | epan/dissectors/packet-ctdb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ctdb.c b/epan/dissectors/packet-ctdb.c index 7ed16044c2..fb076251cd 100644 --- a/epan/dissectors/packet-ctdb.c +++ b/epan/dissectors/packet-ctdb.c @@ -797,9 +797,7 @@ dissect_ctdb_req_control(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, prot cd(pinfo, tree, tvb, data_offset, 0, endianess); } - if(ctdb_control){ - ctdb_display_control(pinfo, tree, tvb, ctdb_control); - } + ctdb_display_control(pinfo, tree, tvb, ctdb_control); return offset; } |