summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/eval.c b/eval.c
index 0c4f9a9..7a9a1aa 100644
--- a/eval.c
+++ b/eval.c
@@ -700,15 +700,9 @@ error:
* -f?print action.
*/
bool eval_fprint(const struct expr *expr, struct eval_state *state) {
- CFILE *cfile = expr->cfile;
- if (cfile->colors) {
- eval_stat(state);
- }
-
- if (cfprintf(cfile, "%pP\n", state->ftwbuf) < 0) {
+ if (cfprintf(expr->cfile, "%pP\n", state->ftwbuf) < 0) {
eval_report_error(state);
}
-
return true;
}