commit | e112c8a64be8ba2f7d8efb3221ec87a6ec119c54 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 29 10:16:11 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 29 10:19:34 2019 +0100 |
tree | defae56cbe607e84aceb5ce72f2d314c8d302b40 | |
parent | 2252beb8557d73407b8f96eef91d6927fb855685 [diff] |
BUILD/MINOR: tools: shut up the format truncation warning in get_gmt_offset() The gcc warning about format truncation in get_gmt_offset() is annoying since we always call it with a valid time thus it cannot fail. However it's true that nothing guarantees that future code reuses this function incorrectly in the future, so better enforce the modulus on one day and shut the warning.