]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 4875 pt2: GCC-8 compile errors with -O3 optimization (#288)
authorAmos Jeffries <yadij@users.noreply.github.com>
Sun, 6 Jan 2019 13:22:19 +0000 (13:22 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Mon, 28 Jan 2019 05:11:46 +0000 (18:11 +1300)
commitd6adda4644e614dcaa6831abc5efffb2af51a7c8
tree3a46766bc0faab8a24c704b4f25324cad4e5504e
parent12aeccb86697ab8817aa250a8390edbc5bf79a18
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