diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-12-22 14:03:00 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-12-22 14:03:00 +0000 |
commit | 154c440e889d06d63676ac8614554bdb53b04041 (patch) | |
tree | 6aaac4a2faaf25356a0b5954e2757ead55f26fc3 /epan/dissectors/packet-cpha.c | |
parent | b3d131b43d2d837a53127b40ab9d296e64bc0661 (diff) |
Best guess fix for missing initializer in array of string pointers;
Issue reported by Chris Maynard in Bug #2813.
svn path=/trunk/; revision=27083
Diffstat (limited to 'epan/dissectors/packet-cpha.c')
-rw-r--r-- | epan/dissectors/packet-cpha.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-cpha.c b/epan/dissectors/packet-cpha.c index 17d5ca0988..129c171f46 100644 --- a/epan/dissectors/packet-cpha.c +++ b/epan/dissectors/packet-cpha.c @@ -145,8 +145,12 @@ static const char *opcode_type_str_long[NUM_OPCODE_TYPES+1] = { "New Sync packet" }; +/* XXX: Array below found by Lint to be missing an initializer. */ +/* So: "Unknown" added as the first initializer so that */ +/* this array is similar to opcode_type_str_long & etc */ #define NUM_STATES 5 static const char *state_str[NUM_STATES+1] = { + "Unknown", "Down/Dead", "Initializing", "Standby", |