diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-07-11 20:26:24 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-07-11 20:26:24 +0000 |
commit | 4248fa670a19074bfb3cb54cb3ff8351c2c971ff (patch) | |
tree | 5adb03543ab6f4fe234c844a430018fd99570f4e /epan/dissectors/packet-cip.c | |
parent | 9ee1981c7fb1f0c331e21981bca0966bec53953f (diff) |
Explicit value_string array size specifier not required.
svn path=/trunk/; revision=43669
Diffstat (limited to 'epan/dissectors/packet-cip.c')
-rw-r--r-- | epan/dissectors/packet-cip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-cip.c b/epan/dissectors/packet-cip.c index 07746811d6..0064e3fb87 100644 --- a/epan/dissectors/packet-cip.c +++ b/epan/dissectors/packet-cip.c @@ -478,7 +478,7 @@ static const value_string cip_sc_vals_cco[] = { }; /* Translate function to string - CIP Request/Response */ -const value_string cip_sc_rr[3] = { +const value_string cip_sc_rr[] = { { 0, "Request" }, { 1, "Response" }, @@ -493,7 +493,7 @@ static const value_string cip_com_bit_vals[] = { { 0, NULL } }; -const value_string cip_reset_type_vals[4] = { +const value_string cip_reset_type_vals[] = { { 0, "Cycle Power" }, { 1, "Factory Default" }, { 2, "Keep Communication Parameters" }, |