summaryrefslogtreecommitdiff
path: root/dbug/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbug/tests.c')
-rw-r--r--dbug/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbug/tests.c b/dbug/tests.c
index d96388e9816..5950c5fa583 100644
--- a/dbug/tests.c
+++ b/dbug/tests.c
@@ -17,7 +17,7 @@ const char *func3()
void func2()
{
- const char *s;
+ const char *s __attribute__((unused));
DBUG_ENTER("func2");
s=func3();
DBUG_PRINT("info", ("s=%s", s));