mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-09 20:34:54 +00:00
[sanitizer] Suppress unused function warning
llvm-svn: 334923
This commit is contained in:
parent
16fdde5e63
commit
7fd0d388e0
@ -157,7 +157,8 @@ bool SetEnv(const char *name, const char *value) {
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool GetLibcVersion(int *major, int *minor, int *patch) {
|
||||
__attribute__((unused)) static bool GetLibcVersion(int *major, int *minor,
|
||||
int *patch) {
|
||||
#ifdef _CS_GNU_LIBC_VERSION
|
||||
char buf[64];
|
||||
uptr len = confstr(_CS_GNU_LIBC_VERSION, buf, sizeof(buf));
|
||||
|
Loading…
Reference in New Issue
Block a user