From b696f1b4669177e10803e76487a25b8d843cf838 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 31 Jul 2020 01:46:16 +0200 Subject: [PATCH] GetHex() is only used on ARM linux. --- client/TracyProfiler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index e0fb4cd8..84d6b1a9 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -270,6 +270,7 @@ static const char* GetProcessName() return processName; } +#if defined __linux__ && defined __ARM_ARCH static uint32_t GetHex( char*& ptr, int skip ) { uint32_t ret; @@ -287,6 +288,7 @@ static uint32_t GetHex( char*& ptr, int skip ) ptr = end; return ret; } +#endif static const char* GetHostInfo() {