]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: skip get_gmtime where tm is unused
authorRobin H. Johnson <robbat2@gentoo.org>
Wed, 10 Apr 2019 21:08:15 +0000 (21:08 +0000)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Apr 2019 12:58:32 +0000 (14:58 +0200)
commit543d4507ca4ddd9ece5eb4e869b20ee1d2afedac
treeb4f7fc0babddbb682d3f99801ba15cd6e54218f6
parent0f93672dfea805268d674c97573711fbff7e0e70
MINOR: skip get_gmtime where tm is unused

For LOG_FMT_TS (%Ts), the tm variable is not used, so save some cycles
on the call to get_gmtime.

Backport: 1.9 1.8
Signed-off-by: Robin H. Johnson <rjohnson@digitalocean.com>
src/log.c