diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-07-16 22:24:31 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-07-16 22:24:31 +0000 |
commit | 6fbfcb37ab6f302fb5d5a952120d2d97af824f91 (patch) | |
tree | 03277409eb1c314fcc3542dce4549d1738bd6fea /epan | |
parent | f621b5ee612f13eb4ebf743850d05cf480cc3c61 (diff) |
Initialize a variable and remove a check_col.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29127 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-nfs.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c index 86476ff34c..f7f19ef39b 100644 --- a/epan/dissectors/packet-nfs.c +++ b/epan/dissectors/packet-nfs.c @@ -5431,7 +5431,7 @@ static int dissect_nfs3_readdirplus_call(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree* tree) { - guint32 hash; + guint32 hash = 0; offset = dissect_nfs_fh3 (tvb, offset, pinfo, tree, "dir", &hash); offset = dissect_rpc_uint64(tvb, tree, hf_nfs_cookie3, offset); @@ -5441,9 +5441,7 @@ dissect_nfs3_readdirplus_call(tvbuff_t *tvb, int offset, packet_info *pinfo, offset = dissect_rpc_uint32(tvb, tree, hf_nfs_count3_maxcount, offset); - if (check_col(pinfo->cinfo, COL_INFO)) { - col_append_fstr(pinfo->cinfo, COL_INFO,", FH:0x%08x", hash); - } + col_append_fstr(pinfo->cinfo, COL_INFO,", FH:0x%08x", hash); proto_item_append_text(tree, ", READDIRPLUS Call FH:0x%08x", hash); return offset; |