diff options
author | Ray Molenkamp <github@lazydodo.com> | 2022-01-11 22:54:18 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2022-01-11 22:54:18 +0300 |
commit | e95b4dc2ddedac3a6edc5d75e4cdac4059305f04 (patch) | |
tree | de5c7e966764f5564b653735e2c57adcc4d94fb5 /intern/ghost | |
parent | 259a71cd3c06a258d5795e1a1529db4f687dcd93 (diff) |
Cleanup: Fix build warnings with MSVC
our UNUSED macro is essentially a no-op for MSVC, which lead to
the situation where this well meant macro was emitting the
following warning:
C4189: 'UNUSED_i': local variable is initialized but not referenced
However since we have been on c++17 for a while now the UNUSED
macro can be replaced with the standard [[maybe_unused]] attribute
in cpp files.
This changes cleans up the use of the UNUSED macro in the
bf_nodes_geometry project.
Differential Revision: https://developer.blender.org/D12915
Reviewed by: JacquesLucke, Severin, Sergey, HooglyBoogly
Diffstat (limited to 'intern/ghost')
0 files changed, 0 insertions, 0 deletions