summaryrefslogtreecommitdiff
path: root/storage/pbxt/src/thread_xt.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/pbxt/src/thread_xt.cc')
-rw-r--r--storage/pbxt/src/thread_xt.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/pbxt/src/thread_xt.cc b/storage/pbxt/src/thread_xt.cc
index 16abd96f983..07f642e34b6 100644
--- a/storage/pbxt/src/thread_xt.cc
+++ b/storage/pbxt/src/thread_xt.cc
@@ -488,7 +488,8 @@ static void thr_free_resources(XTThreadPtr self, XTResourcePtr top)
xtPublic void xt_bug(XTThreadPtr XT_UNUSED(self))
{
- static int *bug_ptr = NULL;
+ static int *bug_ptr __attribute__ ((unused));
+ bug_ptr= NULL;
bug_ptr = NULL;
}