commit | e40f274878eb70946a1792f5ef142ec0d57ac9c4 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Aug 22 20:26:28 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Aug 22 20:26:28 2019 +0200 |
tree | 8fdc33c325d513f9c09a445d85664f71a5d2c836 | |
parent | f909c91e8a739b9ef7409b399259201fe883771c [diff] |
BUILD: trace: make the lockon_ptr const to silence a warning without threads I forgot to fix this one before pushing, despite my tests. lockon_ptr is only used to compare pointers, it doesn't need to point to a writable location. Without threads the atomic store is turned into an assignment and rightfully complains.