Add HB_DEBUG_VERBOSE
Only affects the verbosity of function name printing right now.
diff --git a/src/hb-private.hh b/src/hb-private.hh
index 15e4f5f..78a524e 100644
--- a/src/hb-private.hh
+++ b/src/hb-private.hh
@@ -594,6 +594,8 @@
if (func)
{
+ unsigned int func_len = strlen (func);
+#ifndef HB_DEBUG_VERBOSE
/* Skip "typename" */
if (0 == strncmp (func, "typename ", 9))
func += 9;
@@ -603,7 +605,9 @@
func = space + 1;
/* Skip parameter list */
const char *paren = strchr (func, '(');
- unsigned int func_len = paren ? paren - func : strlen (func);
+ if (paren)
+ func_len = paren - func;
+#endif
fprintf (stderr, "%.*s: ", func_len, func);
}