aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cimd.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-08-04 18:48:45 +0000
committerBill Meier <wmeier@newsguy.com>2009-08-04 18:48:45 +0000
commit90e865cc5486c645add2e9c7ca312b52192be243 (patch)
tree96f534ba2583a2b8a9c478f8db48da37cce0cf68 /epan/dissectors/packet-cimd.c
parent8ffaa3b8803de5702ba11c4b992f3e863fa3323d (diff)
downloadwireshark-90e865cc5486c645add2e9c7ca312b52192be243.tar.gz
wireshark-90e865cc5486c645add2e9c7ca312b52192be243.tar.bz2
wireshark-90e865cc5486c645add2e9c7ca312b52192be243.zip
Init ett_... variables to -1
svn path=/trunk/; revision=29294
Diffstat (limited to 'epan/dissectors/packet-cimd.c')
-rw-r--r--epan/dissectors/packet-cimd.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/packet-cimd.c b/epan/dissectors/packet-cimd.c
index 4e2910bcc3..37aa89717e 100644
--- a/epan/dissectors/packet-cimd.c
+++ b/epan/dissectors/packet-cimd.c
@@ -849,10 +849,11 @@ proto_register_cimd(void)
for(i=0;i<MAXPARAMSCOUNT;i++)
{
- ett[i + 1] = &(ett_index[i]);
- vals_hdr_PC[i].ett_p = &(ett_index[i]);
- vals_hdr_PC[i].hf_p = &(hf_index[i]);
- vals_hdr_PC[i].diss = cimd_pc_handles[i];
+ ett_index[i] = -1;
+ ett[i + 1] = &(ett_index[i]);
+ vals_hdr_PC[i].ett_p = &(ett_index[i]);
+ vals_hdr_PC[i].hf_p = &(hf_index[i]);
+ vals_hdr_PC[i].diss = cimd_pc_handles[i];
};
/* Register the protocol name and description */