commit | 70cb3026a8d76e7b9c32ce95c4e9b5f21f3e44da | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Apr 11 15:17:48 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Apr 11 23:47:01 2021 +0200 |
tree | bee2d6e9ef9dca73eb61c7ff4107c3cbf0a053da | |
parent | c4c80fb4eaf22b7aab6a9fd9d77f096a380f3e39 [diff] |
MINOR: time: remove useless variable copies in tv_update_date() In the global_now loop, we used to set tmp_adj from adjusted, then set update it from tmp_now, then set adjusted back to tmp_adj, and finally set now from adjusted. This is a long and unneeded set of moves resulting from years of code changes. Let's just set now directly in the loop, stop using adjusted and remove tmp_adj.