]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4875 pt2: GCC-8 compile errors with -O3 optimization (#288) M-staged-PR288
authorAmos Jeffries <yadij@users.noreply.github.com>
Sat, 5 Jan 2019 22:55:21 +0000 (22:55 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 5 Jan 2019 22:55:25 +0000 (22:55 +0000)
commitb7f5976a629cf5633b1bb1a57194aa1723796b5d
treeb1090aa1f733ead9c789fa9baed405e604b3bf63
parent53641f9dd55fb9b7ab4aadd158f7f11605fe90e5
Bug 4875 pt2: GCC-8 compile errors with -O3 optimization (#288)

GCC-8 warnings exposed at -O3 optimization causes its
own static analyzer to detect optimized code is eliding
initialization on paths that do not use the
configuration variables.

Refactor the parseTimeLine() API to return the parsed
values so that there is no need to initialize anything prior
to parsing.
src/cache_cf.cc