From e5e819b7d7a81a614df316b9bcf710d641c05082 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Fri, 27 May 2016 06:15:13 +0000 Subject: [PATCH] [profile] Avoid unused variable warning. llvm-svn: 270969 --- compiler-rt/lib/profile/InstrProfilingPort.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/profile/InstrProfilingPort.h b/compiler-rt/lib/profile/InstrProfilingPort.h index 44be05c33042..4efd1a32b3a2 100644 --- a/compiler-rt/lib/profile/InstrProfilingPort.h +++ b/compiler-rt/lib/profile/InstrProfilingPort.h @@ -38,7 +38,7 @@ #ifdef _MSC_VER #define COMPILER_RT_GETHOSTNAME(Name, Len) gethostname(Name, Len) #elif defined(__ORBIS__) -#define COMPILER_RT_GETHOSTNAME(Name, Len) (-1) +#define COMPILER_RT_GETHOSTNAME(Name, Len) ((void)(Name), (void)(Len), (-1)) #else #define COMPILER_RT_GETHOSTNAME(Name, Len) lprofGetHostName(Name, Len) #define COMPILER_RT_HAS_UNAME 1