From 0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 12 Mar 2010 01:27:02 +0000 Subject: Chop dead code. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2545 a436a847-0d15-0410-975c-d299462d15a1 --- src/plugin.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/plugin.c') diff --git a/src/plugin.c b/src/plugin.c index 0be7c52..cc62ea8 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -106,24 +106,6 @@ slv2_plugin_free(SLV2Plugin p) } -/** comparator for sorting */ -#if 0 -static int -slv2_port_compare_by_index(const void* a, const void* b) -{ - SLV2Port port_a = *(SLV2Port*)a; - SLV2Port port_b = *(SLV2Port*)b; - - if (port_a->index < port_b->index) - return -1; - else if (port_a->index == port_b->index) - return 0; - else //if (port_a->index > port_b->index) - return 1; -} -#endif - - /* private */ void slv2_plugin_load_if_necessary(SLV2Plugin p) @@ -206,8 +188,6 @@ slv2_plugin_load_ports_if_necessary(SLV2Plugin p) void slv2_plugin_load(SLV2Plugin p) { - //printf("Loading cache for %s\n", slv2_value_as_string(p->plugin_uri)); - if (!p->storage) { assert(!p->rdf); p->storage = slv2_world_new_storage(p->world); -- cgit v1.2.1