commit | 4809c8c9558aca07edd587bf0b1bf287ddfbfc98 | [log] [tgz] |
---|---|---|
author | Tim Duesterhus <tim@bastelstu.be> | Thu Apr 15 18:08:48 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 20 20:33:31 2021 +0200 |
tree | 416f52cdc9d4714a008e0fff99311d63673db30d | |
parent | 7d9acced279455c0caa7fb637246efe5bd807569 [diff] |
CLEANUP: sample: Improve local variables in sample_conv_json_query This improves the use of local variables in sample_conv_json_query: - Use the enum type for the return value of `mjson_find`. - Do not use single letter variables. - Reduce the scope of variables that are only needed in a single branch. - Add missing newlines after variable declaration.