diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2019-06-11 10:18:34 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-06-11 18:50:32 +0000 |
commit | f155601d66603a7ddf2880bb1ee77af88e3fdbe8 (patch) | |
tree | 4bfbef3c95d917cccdc6f2e03f34b6f877caa9f0 /epan/decode_as.c | |
parent | 292193bff197190597872025f3d333860a9abc04 (diff) |
decode_as: remove the "title" member from decode_as_t
The title of a decode_as_t was used by the GTK UI. It's no
longer required for Qt.
Change-Id: Ibd9d4acbe9cad2c1af520340d04e550326a97ebe
Reviewed-on: https://code.wireshark.org/review/33557
Petri-Dish: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/decode_as.c')
-rw-r--r-- | epan/decode_as.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/decode_as.c b/epan/decode_as.c index b74e99e37a..45f6466a37 100644 --- a/epan/decode_as.c +++ b/epan/decode_as.c @@ -57,7 +57,7 @@ static build_valid_func next_proto_values[] = { next_proto_value }; static decode_as_value_t next_proto_da_values = { next_proto_prompt, 1, next_proto_values }; -dissector_table_t register_decode_as_next_proto(int proto, const gchar *title, const gchar *table_name, const gchar *ui_name, build_label_func label_func) +dissector_table_t register_decode_as_next_proto(int proto, const gchar *title _U_, const gchar *table_name, const gchar *ui_name, build_label_func label_func) { decode_as_t *da; @@ -65,7 +65,6 @@ dissector_table_t register_decode_as_next_proto(int proto, const gchar *title, c da = wmem_new0(wmem_epan_scope(), decode_as_t); da->name = wmem_strdup(wmem_epan_scope(), proto_get_protocol_filter_name(proto)); - da->title = wmem_strdup(wmem_epan_scope(), title); da->table_name = wmem_strdup(wmem_epan_scope(), table_name); da->num_items = 1; if (label_func == NULL) |