commit | 3705deea99ac557c74125b7302dd15082585d76c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Apr 25 10:02:11 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 25 16:09:26 2022 +0200 |
tree | 4dfa40d018d1ca384cb5ae2f748bcc7815a572cf | |
parent | 1a8636d0179904743a118d8938d2c459d9617111 [diff] |
MINOR: sample: don't needlessly call c_none() in sample_fetch_as_type() Surprisingly, while about all calls to a sample cast function carefully avoid calling c_none(), sample_fetch_as_type() makes no effort regarding this, while by nature, the function is most often called with an expected output type similar to the one of the expresison. Let's add it to shorten the most common call path.