commit | 7d7ab43a33f86e39fa3ce232e84235c9ed590445 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 20 11:39:39 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Sep 20 11:42:15 2018 +0200 |
tree | 634354e9abca9b5f3291c27a11551c5b023f986d | |
parent | 1e582e5e5cb7fca97c2d157e2c5057e0814ba90f [diff] |
BUILD: sockpair: silence a build warning at -Wextra An invalid null-deref warning is emitted because cmsg is not checked, though it definitely is valid given the test performed 10 lines above, but the compiler cannot necessarily guess this. Adding a null test to the problematic condition is enough to get rid of it and cheap enough.