From: brarcher Date: Sat, 4 Jan 2014 18:34:01 +0000 (+0000) Subject: check_log.c: remove unnecessary checks for CK_ENV X-Git-Tag: 0.10.0~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab009a512a12849696c7dcc233c63bb8ce330881;p=check 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 --- 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: