Skip to content

Commit 70524c3

Browse files
author
Matthias Güdemann
committed
Fix clang++'s warning about self-assign (to be removed)
1 parent 595fca7 commit 70524c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/sharing_node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Author: Daniel Poetzl
4343
#define SN_ASSERT_USE(v, b) SN_ASSERT(b)
4444
#else
4545
#define SN_ASSERT(b)
46-
#define SN_ASSERT_USE(v, b) v = v;
46+
#define SN_ASSERT_USE(v, b) static_cast<void>(v);
4747
#endif
4848

4949
// clang-format off

0 commit comments

Comments
 (0)