From 21c56085c53e0aedd6379764167c2651f3045c04 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 17 Apr 2018 09:31:12 +0200 Subject: tests: eliminated exit_code variable used in few tests It was a legacy variable for error printing that was never used uniformly. Signed-off-by: Nikos Mavrogiannopoulos --- tests/priority-set2.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests/priority-set2.c') diff --git a/tests/priority-set2.c b/tests/priority-set2.c index e1187e75a3..18b03d86ee 100644 --- a/tests/priority-set2.c +++ b/tests/priority-set2.c @@ -57,7 +57,6 @@ static time_t mytime(time_t * t) void doit(void) { - int exit_code = EXIT_SUCCESS; int ret; /* Server stuff. */ gnutls_certificate_credentials_t serverx509cred; @@ -126,11 +125,4 @@ void doit(void) gnutls_priority_deinit(cache); gnutls_global_deinit(); - - if (debug > 0) { - if (exit_code == 0) - puts("Self-test successful"); - else - puts("Self-test failed"); - } } -- cgit v1.2.1