changeset 21341:499e52172881

lib: Remove dead code from unit test
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sun, 18 Dec 2016 12:54:34 +0200
parents 4efaa627264d
children 77b037d4b9b8
files src/lib/test-malloc-overflow.c
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib/test-malloc-overflow.c	Tue Nov 29 23:37:43 2016 +0200
+++ b/src/lib/test-malloc-overflow.c	Sun Dec 18 12:54:34 2016 +0200
@@ -125,13 +125,4 @@
 	if (state != FATAL_TEST_FINISHED)
 		return state;
 	return fatal_malloc_overflow_add(&stage);
-
-	/* individual checks */
-	switch (stage) {
-	case 0:
-		if (stage == 0)
-			test_begin("MALLOC_MULTIPLY() overflows");
-		break;
-	}
-	return FATAL_TEST_FINISHED;
 }