diff options
-rw-r--r-- | utils/lv2info.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/utils/lv2info.c b/utils/lv2info.c index b5aea3a..fd71b10 100644 --- a/utils/lv2info.c +++ b/utils/lv2info.c @@ -32,7 +32,6 @@ LilvNode* applies_to_pred = NULL; LilvNode* control_class = NULL; LilvNode* event_class = NULL; LilvNode* group_pred = NULL; -LilvNode* is_parameter_pred = NULL; LilvNode* label_pred = NULL; LilvNode* preset_class = NULL; LilvNode* designation_pred = NULL; @@ -109,13 +108,6 @@ print_port(const LilvPlugin* p, printf("\t\tName: %s\n", lilv_node_as_string(name)); lilv_node_free(name); - LilvNodes* parameters = lilv_port_get_value(p, port, is_parameter_pred); - if (lilv_nodes_size(parameters) > 0) - printf("\t\tParameter: %s\n", - lilv_node_as_string( - lilv_nodes_get(parameters, lilv_nodes_begin(parameters)))); - lilv_nodes_free(parameters); - LilvNodes* groups = lilv_port_get_value(p, port, group_pred); if (lilv_nodes_size(groups) > 0) printf("\t\tGroup: %s\n", @@ -403,7 +395,6 @@ main(int argc, char** argv) control_class = lilv_new_uri(world, LILV_URI_CONTROL_PORT); event_class = lilv_new_uri(world, LILV_URI_EVENT_PORT); group_pred = lilv_new_uri(world, NS_PG "group"); - is_parameter_pred = lilv_new_uri(world, LILV_NS_LV2 "isParameter"); label_pred = lilv_new_uri(world, LILV_NS_RDFS "label"); preset_class = lilv_new_uri(world, NS_PSET "Preset"); designation_pred = lilv_new_uri(world, LILV_NS_LV2 "designation"); @@ -441,7 +432,6 @@ main(int argc, char** argv) lilv_node_free(designation_pred); lilv_node_free(preset_class); lilv_node_free(label_pred); - lilv_node_free(is_parameter_pred); lilv_node_free(group_pred); lilv_node_free(event_class); lilv_node_free(control_class); |