commit | 4ae4923c3e44f8bd62bc9bd226389f373ace695e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 20 11:08:47 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Sep 20 11:42:15 2018 +0200 |
tree | f193bb6ba877cfffbd84912ee8b410bbf0ac7da9 | |
parent | babc15e8cfa4fc6f633d45e66fea24922964413d [diff] |
MINOR: stream-int: make si_appctx() never fail Callers of si_appctx() always use the result without checking it because they know by construction that it's valid. This results in unchecked null pointer warnings at -Wextra, so let's remove this test and make it clear that it's up to the caller to check validity first.