summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--simpletrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpletrace.c b/simpletrace.c
index f1dbb5e502..de355e9675 100644
--- a/simpletrace.c
+++ b/simpletrace.c
@@ -119,7 +119,7 @@ static void *writeout_thread(void *opaque)
TraceRecord record;
unsigned int writeout_idx = 0;
unsigned int num_available, idx;
- size_t unused;
+ size_t unused __attribute__ ((unused));
for (;;) {
wait_for_trace_records_available();