git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11682 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-ptrcheck/tests/justify.c b/exp-ptrcheck/tests/justify.c
index 0cc5295..366c78b 100644
--- a/exp-ptrcheck/tests/justify.c
+++ b/exp-ptrcheck/tests/justify.c
@@ -10,7 +10,7 @@
 
 int main ( void )
 {
-   char c;
+   char c __attribute__((unused));
    char *c0, *c1;
 
    c0 = malloc(10000);