diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-08-22 14:38:28 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-08-27 18:42:28 +0200 |
commit | 418bcb0ce3b704ea26ee1b4a68706abca536f65a (patch) | |
tree | 00154171b6360d608b024f1f393c5bd66b3d9c72 /src/test | |
parent | 285e8c126b1607188249c42e74c172cb69cc99a6 (diff) |
shared: drop UNIQUE()
The UNIQUE() macro works fine if used in un-stacked macros. However, once
you stack them like:
MAX(MIN(a, b),
CLAMP(MAX(c, d), e, f))
you will get warnings due to shadowing other variables. gcc uses the last
line of a macro expansion as value for __LINE__, therefore, we cannot even
avoid this by splitting the expressions across lines.
Remove the only user of UNIQUE() so we introduce a new helper in
follow-ups.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions