From ab009a512a12849696c7dcc233c63bb8ce330881 Mon Sep 17 00:00:00 2001 From: brarcher Date: Sat, 4 Jan 2014 18:34:01 +0000 Subject: [PATCH] check_log.c: remove unnecessary checks for CK_ENV this code is unnecessary, as srunner_register_lfun will determine the real print mode before stdout_lfun gets called. That is, CK_ENV will never be passed. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1023 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- src/check_log.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/check_log.c b/src/check_log.c index 49eb0d8..d17b84f 100644 --- a/src/check_log.c +++ b/src/check_log.c @@ -169,10 +169,6 @@ void stdout_lfun (SRunner *sr, FILE *file, enum print_output printmode, void *obj, enum cl_event evt) { Suite *s; - - if (printmode == CK_ENV) { - printmode = get_env_printmode(); - } switch (evt) { case CLINITLOG_SR: -- 2.40.0