From 49042306f81e089619ca25d474049ff6c4a76712 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Thu, 20 Jun 2024 15:56:46 +0200 Subject: [PATCH] Remove stray attribute subtype from GET_AGGREGATES --- src/gmp.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/gmp.c b/src/gmp.c index 5add97352..0e8fda239 100644 --- a/src/gmp.c +++ b/src/gmp.c @@ -1596,7 +1596,6 @@ typedef struct { get_data_t get; ///< Get args. char *type; ///< Resource type. - char *subtype; ///< Resource subtype. GList *data_columns; ///< Columns to calculate aggregate for. GList *text_columns; ///< Columns to get simple text from. char *group_column; ///< Column to group data by. @@ -5133,13 +5132,6 @@ gmp_xml_handle_start_element (/* unused */ GMarkupParseContext* context, append_attribute (attribute_names, attribute_values, "type", &get_aggregates_data->type); - if (get_aggregates_data->type - && strcasecmp (get_aggregates_data->type, "info") == 0) - { - append_attribute (attribute_names, attribute_values, "info_type", - &get_aggregates_data->subtype); - } - append_attribute (attribute_names, attribute_values, "data_column", &data_column); get_aggregates_data->data_columns