CLEANUP: Reduce scope of `header_name` in http_action_store_cache()
authorTim Duesterhus <tim@bastelstu.be>
Sat, 2 Jan 2021 21:47:16 +0000 (22:47 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 5 Jan 2021 16:05:58 +0000 (17:05 +0100)
commite2fff10a1902a4aaf09259c1247b744168c9da79
tree243526647c58363c0184bf2d2b97733aecb7363e
parent8f7efcddd6bd389e5e2c49f8f554d85d085720f2
CLEANUP: Reduce scope of `header_name` in http_action_store_cache()

This variable is only needed deeply nested in a single location and clang's
static analyzer complains about a dead initialization. Reduce the scope to
satisfy clang and the human that reads the function.
src/cache.c