[alsa-devel] [PATCH 2/2] alisp: Comment out an unused function to avoid compiler warnings.
Stefan Schmidt
stefan at datenfreihafen.org
Wed Sep 30 12:36:14 CEST 2009
From: Stefan Schmidt <stefan at slimlogic.co.uk>
The function should be useful later so keep it in place and just comment it out
until it is actually used.
Signed-off-by: Stefan Schmidt <stefan at slimlogic.co.uk>
---
src/alisp/alisp.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/alisp/alisp.c b/src/alisp/alisp.c
index 4ad1d09..f3580f9 100644
--- a/src/alisp/alisp.c
+++ b/src/alisp/alisp.c
@@ -233,6 +233,9 @@ static struct alisp_object * incref_tree(struct alisp_instance *instance, struct
return incref_object(instance, p);
}
+/* Function not used yet. Leave it commented out until we actually use it to
+ * avoid compiler complaints */
+#if 0
static struct alisp_object * incref_tree_explicit(struct alisp_instance *instance, struct alisp_object * p, struct alisp_object * e)
{
if (p == NULL)
@@ -250,6 +253,7 @@ static struct alisp_object * incref_tree_explicit(struct alisp_instance *instanc
return incref_object(instance, p);
return p;
}
+#endif
static void free_objects(struct alisp_instance *instance)
{
--
1.6.4.3
More information about the Alsa-devel
mailing list