aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes/ftype-string.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2017-03-16 22:34:49 +0100
committerMichael Mann <mmann78@netscape.net>2017-03-19 12:08:33 +0000
commit74e793e8bac3013f0474fdf398608ba24506307c (patch)
tree132b6fa5c33139472d8a6d2fc7e7cd07b401c83e /epan/ftypes/ftype-string.c
parentfd9a595aedf4aa15cb5460766175a19cd2e75047 (diff)
ftypes: create a get_value union, move get_value_floating into the union
Change-Id: I6bbaf6a7c8a3124e5eab7a7b97c6be082fe8beff Reviewed-on: https://code.wireshark.org/review/20611 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Petri-Dish: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/ftypes/ftype-string.c')
-rw-r--r--epan/ftypes/ftype-string.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/epan/ftypes/ftype-string.c b/epan/ftypes/ftype-string.c
index b125eea514..d533a55369 100644
--- a/epan/ftypes/ftype-string.c
+++ b/epan/ftypes/ftype-string.c
@@ -241,14 +241,13 @@ ftype_register_string(void)
string_repr_len, /* len_string_repr */
{ .set_value_string = string_fvalue_set_string }, /* union set_value */
-
+ { NULL }, /* union get_value */
value_get, /* get_value_ptr */
NULL, /* get_value_uinteger */
NULL, /* get_value_sinteger */
NULL, /* get_value_uinteger64 */
NULL, /* get_value_sinteger64 */
- NULL, /* get_value_floating */
cmp_eq,
cmp_ne,
@@ -276,14 +275,13 @@ ftype_register_string(void)
string_repr_len, /* len_string_repr */
{ .set_value_string = string_fvalue_set_string }, /* union set_value */
-
+ { NULL }, /* union get_value */
value_get, /* get_value_ptr */
NULL, /* get_value_uinteger */
NULL, /* get_value_sinteger */
NULL, /* get_value_uinteger64 */
NULL, /* get_value_sinteger64 */
- NULL, /* get_value_floating */
cmp_eq,
cmp_ne,
@@ -311,14 +309,13 @@ ftype_register_string(void)
string_repr_len, /* len_string_repr */
{ .set_value_string = string_fvalue_set_string }, /* union set_value */
-
+ { NULL }, /* union get_value */
value_get, /* get_value_ptr */
NULL, /* get_value_uinteger */
NULL, /* get_value_sinteger */
NULL, /* get_value_uinteger64 */
NULL, /* get_value_sinteger64 */
- NULL, /* get_value_floating */
cmp_eq,
cmp_ne,
@@ -346,14 +343,13 @@ ftype_register_string(void)
string_repr_len, /* len_string_repr */
{ .set_value_string = string_fvalue_set_string }, /* union set_value */
-
+ { NULL }, /* union get_value */
value_get, /* get_value_ptr */
NULL, /* get_value_uinteger */
NULL, /* get_value_sinteger */
NULL, /* get_value_uinteger64 */
NULL, /* get_value_sinteger64 */
- NULL, /* get_value_floating */
cmp_eq,
cmp_ne,