Commit 768590a99d36e87dd00df30435f274a4567f6ce3

Werner Lemberg 2012-12-20T06:08:23

* src/base/ftobjs.c (ft_property_do): Fix compiler warning.

diff --git a/ChangeLog b/ChangeLog
index 864014a..0fa5058 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-12-19  Werner Lemberg  <wl@gnu.org>
+
+	* src/base/ftobjs.c (ft_property_do): Fix compiler warning.
+
 2012-12-19  Alexei Podtelezhnikov  <apodtele@gmail.com>
 
 	* src/base/ftrfork.c (FT_Raccess_Guess): Switch to FT_Int counters.
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index 5a160ce..76ccf0a 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -4396,9 +4396,11 @@
 
     FT_Service_Properties  service;
 
+#ifdef FT_DEBUG_LEVEL_ERROR
     const FT_String*  set_name  = "FT_Property_Set";
     const FT_String*  get_name  = "FT_Property_Get";
     const FT_String*  func_name = set ? set_name : get_name;
+#endif
 
     FT_Bool  missing_func;