[lasem] Flag unused code



commit dee376eb5d78198511acde051e2a959bdfe68bde
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date:   Tue Jan 1 12:58:46 2013 +0100

    Flag unused code

 src/lsmsvgstyle.c |    2 ++
 tests/dom.c       |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/lsmsvgstyle.c b/src/lsmsvgstyle.c
index a111810..6646f82 100644
--- a/src/lsmsvgstyle.c
+++ b/src/lsmsvgstyle.c
@@ -545,6 +545,7 @@ lsm_svg_style_new_inherited (const LsmSvgStyle *parent_style, LsmPropertyBag *pr
 	return style;
 }
 
+#if 0 /* Unused code - remove? */
 LsmSvgStyle *
 lsm_svg_style_duplicate (const LsmSvgStyle *origin)
 {
@@ -556,3 +557,4 @@ lsm_svg_style_duplicate (const LsmSvgStyle *origin)
 
 	return style;
 }
+#endif /* 0 */
diff --git a/tests/dom.c b/tests/dom.c
index e1551cf..bcbd7d0 100644
--- a/tests/dom.c
+++ b/tests/dom.c
@@ -22,6 +22,7 @@ create_document_test (void)
 	g_object_unref (document);
 }
 
+#if 0 /* Unused code - remove? */
 static void
 create_element_test (void)
 {
@@ -77,6 +78,7 @@ add_remove_element_test (void)
 	g_object_unref (element);
 	g_object_unref (document);
 }
+#endif /* 0 */
 
 static void
 node_list_test (void)



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