From 740ce08c86a34836cc3875f3c803f53a2b058cba Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 13 Dec 2008 01:38:54 +0000 Subject: 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 --- src/plugin.c | 6 ++++-- src/port.c | 2 ++ src/slv2_internal.h | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) (limited to 'src') 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 diff --git a/src/port.c b/src/port.c index 7fd3ede..27cc297 100644 --- a/src/port.c +++ b/src/port.c @@ -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); -- cgit v1.2.1