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 d76266d34a3..e1d416d6c43 100644
--- a/dbug/tests.c
+++ b/dbug/tests.c
@@ -16,7 +16,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));