commit | b54c40ac0b19075d50d2e1a3aae2b3cf49591604 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 02 19:28:41 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 02 19:28:41 2018 +0100 |
tree | 4855b4fab147813c74396a431cd101760611ec10 | |
parent | c8b476d9521e4355825ae89c24c12ffbbb1791c7 [diff] |
BUILD: threads: fix minor build warnings when threads are disabled These potential null-deref warnings are emitted on gcc 7 and above when threads are disabled due to the use of objt_server() after an existing validity test. Let's switch to __objt_server() since we know the pointer is valid, it will not confuse the compiler. Some of these may be backported to 1.8.