In usr.bin/sort, use another method of silencing warnings about unused
arguments, which does not trigger self-assignment warnings in certain circumstances (for example, using clang with ccache). MFC after: 3 days
This commit is contained in:
parent
fb374358bf
commit
2ac58c1d79
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=236759
@ -41,7 +41,7 @@
|
||||
|
||||
#define VERSION "2.3-FreeBSD"
|
||||
|
||||
#define UNUSED_ARG(A) do { A=A; } while(0)
|
||||
#define UNUSED_ARG(A) do { (void)(A); } while(0)
|
||||
|
||||
#ifdef WITHOUT_NLS
|
||||
#define getstr(n) nlsstr[n]
|
||||
|
Loading…
Reference in New Issue
Block a user