summaryrefslogtreecommitdiffstats
path: root/src/plugin.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-03-12 01:27:02 +0000
committerDavid Robillard <d@drobilla.net>2010-03-12 01:27:02 +0000
commit0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1 (patch)
tree1dc06da55503eda364794e47d0d6cd3a2af792d9 /src/plugin.c
parent4204ee4da991e652f3142b5d90c37849052c9484 (diff)
downloadlilv-0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1.tar.gz
lilv-0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1.tar.bz2
lilv-0a18c35deb2dbc6efd4acd4a1ddc5c87b3887fb1.zip
Chop dead code.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2545 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c20
1 files changed, 0 insertions, 20 deletions
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);