commit | babc15e8cfa4fc6f633d45e66fea24922964413d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 20 11:06:33 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Sep 20 11:42:15 2018 +0200 |
tree | 6e1018ec04d1be5b8256cf00ccf2d6bc3f65a7dd | |
parent | c2b7f80a91ed01f78aa22b3e2afeda0672501e0c [diff] |
MINOR: stktable: provide an unchecked version of stktable_data_ptr() stktable_data_ptr() currently performs null pointer checks but most callers don't check the result since they know by construction that it cannot be null. This causes valid warnings when building with -Wextra which are worth addressing since it will result in better code. Let's provide an unguarded version of this function for use where the check is known to be useless and untested.