summaryrefslogtreecommitdiff
path: root/malloc/tst-realloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/tst-realloc.c')
-rw-r--r--malloc/tst-realloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/malloc/tst-realloc.c b/malloc/tst-realloc.c
index 31a58bd026..d942c6e536 100644
--- a/malloc/tst-realloc.c
+++ b/malloc/tst-realloc.c
@@ -66,10 +66,6 @@ do_test (void)
if (p == NULL)
merror ("realloc (NULL, 10) failed.");
- /* errno should be clear on success (POSIX). */
- if (p != NULL && save != 0)
- merror ("errno is set but should not be");
-
free (p);
p = calloc (20, 1);