aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nfs.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-01-26 21:42:36 +0000
committerBill Meier <wmeier@newsguy.com>2013-01-26 21:42:36 +0000
commit329f6e8cc02dd7b2dfa82837e7f43fb74442491f (patch)
tree57d83a444d79dcce1b37598d89874aff086cfefc /epan/dissectors/packet-nfs.c
parent50efee619e674fa03aa7732df951624b7b6605e7 (diff)
Initialize some hf_... vars to -1;
(Reduces the number of checkhf false positives) svn path=/trunk/; revision=47310
Diffstat (limited to 'epan/dissectors/packet-nfs.c')
-rw-r--r--epan/dissectors/packet-nfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c
index a8419e063a..0ad0f6cacc 100644
--- a/epan/dissectors/packet-nfs.c
+++ b/epan/dissectors/packet-nfs.c
@@ -169,8 +169,8 @@ static int hf_nfs_read_offset = -1;
static int hf_nfs_read_count = -1;
static int hf_nfs_read_totalcount = -1;
static int hf_nfs_data = -1;
-static int hf_read_data_length;
-static int hf_write_data_length;
+static int hf_read_data_length = -1;
+static int hf_write_data_length = -1;
static int hf_nfs_write_beginoffset = -1;
static int hf_nfs_write_offset = -1;
static int hf_nfs_write_totalcount = -1;