]> git.puffer.fish Git - matthieu/frr.git/commitdiff
add XXX comment about hex_append being unused.
authorgdt <gdt>
Thu, 9 Dec 2004 14:53:32 +0000 (14:53 +0000)
committergdt <gdt>
Thu, 9 Dec 2004 14:53:32 +0000 (14:53 +0000)
(only used if HAVE_GLIBC_BACKTRACE, so perhaps ifdef it?)

lib/log.c

index b68896cac8ae66f89681d613be50dae6c1944f05..64d576a2fa09100deb2954cd1be2bf8f99dcc825 100644 (file)
--- a/lib/log.c
+++ b/lib/log.c
@@ -1,5 +1,5 @@
 /*
- * $Id: log.c,v 1.17 2004/12/07 15:39:32 ajs Exp $
+ * $Id: log.c,v 1.18 2004/12/09 14:53:32 gdt Exp $
  *
  * Logging of zebra
  * Copyright (C) 1997, 1998, 1999 Kunihiro Ishiguro
@@ -177,6 +177,10 @@ num_append(char *s, int len, u_long x)
   return str_append(s,len,t);
 }
 
+/*
+ * XXX warning: `hex_append' defined but not used
+ * Apparently this is used only if HAVE_GLIBC_BACKTRACE is defined.
+ */
 static char *
 hex_append(char *s, int len, u_long x)
 {