aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-cpha.c')
-rw-r--r--epan/dissectors/packet-cpha.c4
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",