diff options
author | David Robillard <d@drobilla.net> | 2008-12-13 01:38:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-12-13 01:38:54 +0000 |
commit | 740ce08c86a34836cc3875f3c803f53a2b058cba (patch) | |
tree | 1b80c3c624e40e6bc3bfd255eeb1d0d9903ad8b8 /src | |
parent | ab1cbbc753de30362827c6e26d3b9fea18bd8cda (diff) | |
download | lilv-740ce08c86a34836cc3875f3c803f53a2b058cba.tar.gz lilv-740ce08c86a34836cc3875f3c803f53a2b058cba.tar.bz2 lilv-740ce08c86a34836cc3875f3c803f53a2b058cba.zip |
Better failed test reporting.
Comment out some unused code.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1853 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/plugin.c | 6 | ||||
-rw-r--r-- | src/port.c | 2 | ||||
-rw-r--r-- | src/slv2_internal.h | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/src/plugin.c b/src/plugin.c index 497d4bd..7a9b32e 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -88,7 +88,8 @@ slv2_plugin_free(SLV2Plugin p) /** comparator for sorting */ -/*static int +#if 0 +static int slv2_port_compare_by_index(const void* a, const void* b) { SLV2Port port_a = *(SLV2Port*)a; @@ -100,7 +101,8 @@ slv2_port_compare_by_index(const void* a, const void* b) return 0; else //if (port_a->index > port_b->index) return 1; -}*/ +} +#endif void @@ -54,6 +54,7 @@ slv2_port_free(SLV2Port port) /* private */ +#if 0 SLV2Port slv2_port_duplicate(SLV2Port port) { @@ -62,6 +63,7 @@ slv2_port_duplicate(SLV2Port port) ret->symbol = slv2_value_duplicate(port->symbol); return ret; } +#endif bool diff --git a/src/slv2_internal.h b/src/slv2_internal.h index f5c0ace..48193c7 100644 --- a/src/slv2_internal.h +++ b/src/slv2_internal.h @@ -45,7 +45,7 @@ struct _SLV2Port { SLV2Port slv2_port_new(SLV2World world, uint32_t index, const char* symbol); -SLV2Port slv2_port_duplicate(SLV2Port port); +//SLV2Port slv2_port_duplicate(SLV2Port port); void slv2_port_free(SLV2Port port); |