[devilspie/libwnck3: 4/6] Fix compiler warning



commit 010f69bec1822cb680b165397f8778bd95e358ac
Author: Christian Persch <chpe gnome org>
Date:   Thu May 31 18:21:04 2012 +0200

    Fix compiler warning
    
    Ifdef a function that's only used in the TESTER build.

 src/e-sexp.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/e-sexp.c b/src/e-sexp.c
index 722c880..d2575e3 100644
--- a/src/e-sexp.c
+++ b/src/e-sexp.c
@@ -108,7 +108,9 @@
 static ESExpTerm * parse_list(ESExp *f, int gotbrace);
 static ESExpTerm * parse_value(ESExp *f);
 
+#ifdef TESTER
 static void parse_dump_term(ESExpTerm *t, int depth);
+#endif
 
 static GObjectClass *parent_class = NULL;
 
@@ -760,7 +762,6 @@ eval_dump_result(ESExpResult *r, int depth)
 	}
 	g_print("\n");
 }
-#endif
 
 void
 parse_dump_term(ESExpTerm *t, int depth)
@@ -808,6 +809,7 @@ parse_dump_term(ESExpTerm *t, int depth)
 
 	g_print("\n");
 }
+#endif
 
 /*
   PARSER



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]