[memprof: 6/76] intercept.c: Fix unused var warning.



commit c8fecdd31bdb0ea99e95f22c24325e73c3aee128
Author: Holger Hans Peter Freyther <zecke selfish org>
Date:   Thu Jun 4 12:57:29 2009 +0200

    intercept.c: Fix unused var warning.

 lib/intercept.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/intercept.c b/lib/intercept.c
index e21271d..8890028 100644
--- a/lib/intercept.c
+++ b/lib/intercept.c
@@ -82,7 +82,9 @@ static MIBool tracing = MI_TRUE;
 
 #define MAX_THREADS 128
 
+#ifndef NPTL
 static ThreadInfo threads[MAX_THREADS];
+#endif
 static char *socket_path = NULL;
 static char socket_buf[64];
 static uint32_t seqno = 0;



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