commit | 1b536a11e705490fddd188fddf6336ddeea36f58 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Mar 22 10:28:50 2023 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Mar 22 10:40:06 2023 +0100 |
tree | 7643e8fd49e357ab6248b0969453459d73341e93 | |
parent | 0de1e6180a18543ab6913b66f4990b614125bf6a [diff] |
BUILD: thread: silence a build warning when threads are disabled When threads are disabled, the compiler complains that we might be accessing tg->abs[] out of bounds since the array is of size 1. It cannot know that the condition to do this is never met, and given that it's not in a fast path, we can make it more obvious.