]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/valgrind/src/valgrind-3.6.0-svn/massif/tests/realloc.c
update
[l4.git] / l4 / pkg / valgrind / src / valgrind-3.6.0-svn / massif / tests / realloc.c
index 9c772761b4a8b9d618457cf9f2c73376dfcc9b22..f6a37f86700469b11c7b54a0b7787de99df9650d 100644 (file)
@@ -3,7 +3,7 @@
 int main(void)
 {                                // All sizes are multiples of 16 -- no slop.
    int* x = realloc(NULL, 800);  // equivalent to malloc(800), and ends up
-   int* y;                       // calling Valgrind's (and Massif's) malloc
+   int* y __attribute__((unused)); // calling Valgrind's (and Massif's) malloc
 
    x = realloc(x, 800);          // same size