aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-etch.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2012-09-18 00:33:19 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2012-09-18 00:33:19 +0000
commit048c68529c0859848473dddd5b4141b218d5016d (patch)
tree165a8ab804ccb4220b2b4f7fd6571faaaae0842e /epan/dissectors/packet-etch.c
parentf8506c50c972710f21ae45ec7304fff28a94d604 (diff)
Initialize all hf's to -1, not 0.
svn path=/trunk/; revision=44962
Diffstat (limited to 'epan/dissectors/packet-etch.c')
-rw-r--r--epan/dissectors/packet-etch.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/epan/dissectors/packet-etch.c b/epan/dissectors/packet-etch.c
index 9cb204a9c0..8164ccd5e6 100644
--- a/epan/dissectors/packet-etch.c
+++ b/epan/dissectors/packet-etch.c
@@ -117,26 +117,26 @@ static gint ett_etch_struct = -1;
static gint ett_etch_keyvalue = -1;
static gint ett_etch_key = -1;
static gint ett_etch_value = -1;
-static int hf_etch_sig = 0;
-static int hf_etch_length = 0;
-static int hf_etch_version = 0;
-static int hf_etch_typecode = 0;
-static int hf_etch_value = 0;
-static int hf_etch_bytes = 0;
-static int hf_etch_byte = 0;
-static int hf_etch_short = 0;
-static int hf_etch_int = 0;
-static int hf_etch_long = 0;
-static int hf_etch_float = 0;
-static int hf_etch_double = 0;
-static int hf_etch_key = 0;
-static int hf_etch_valuename = 0;
-static int hf_etch_keyname = 0;
-static int hf_etch_string = 0;
-static int hf_etch_keyvalue = 0;
-static int hf_etch_struct = 0;
-static int hf_etch_dim = 0;
-static int hf_etch_symbol = 0;
+static int hf_etch_sig = -1;
+static int hf_etch_length = -1;
+static int hf_etch_version = -1;
+static int hf_etch_typecode = -1;
+static int hf_etch_value = -1;
+static int hf_etch_bytes = -1;
+static int hf_etch_byte = -1;
+static int hf_etch_short = -1;
+static int hf_etch_int = -1;
+static int hf_etch_long = -1;
+static int hf_etch_float = -1;
+static int hf_etch_double = -1;
+static int hf_etch_key = -1;
+static int hf_etch_valuename = -1;
+static int hf_etch_keyname = -1;
+static int hf_etch_string = -1;
+static int hf_etch_keyvalue = -1;
+static int hf_etch_struct = -1;
+static int hf_etch_dim = -1;
+static int hf_etch_symbol = -1;
/*
* internal fields/defines for dissector