From da496ae2fe5575b94eda64f03f23a03075d83477 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 14 Oct 2015 18:50:58 +0200 Subject: msg: remove the useless trailing comment from stats dumping The origin of the stats line was added as a comment (starting with '#'). It was useless and just blowing up file sizes. --- common/msg.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'common') diff --git a/common/msg.c b/common/msg.c index 6a7f699b31..42fa770fba 100644 --- a/common/msg.c +++ b/common/msg.c @@ -326,10 +326,8 @@ static void write_msg_to_buffers(struct mp_log *log, int lev, char *text) static void dump_stats(struct mp_log *log, int lev, char *text) { struct mp_log_root *root = log->root; - if (lev == MSGL_STATS && root->stats_file) { - fprintf(root->stats_file, "%"PRId64" %s #%s\n", mp_time_us(), text, - log->verbose_prefix); - } + if (lev == MSGL_STATS && root->stats_file) + fprintf(root->stats_file, "%"PRId64" %s\n", mp_time_us(), text); } void mp_msg_va(struct mp_log *log, int lev, const char *format, va_list va) -- cgit v1.2.3