Fix unused function warnings for conditionally used functions

Change-Id: Ied23c571b949abef1816914986f19b14aca3d2f3
Cette révision appartient à :
Matt Arsenault
2020-06-30 18:10:03 -04:00
révisé par Matthew Arsenault
Parent 7124974148
révision c56a82fd05
4 fichiers modifiés avec 30 ajouts et 16 suppressions
+2 -2
Voir le fichier
@@ -42,14 +42,14 @@ extern int SearchProfileOfAnApplication(const wchar_t* fileName,
ADLApplicationProfile** lppProfile);
#endif // BRAHMA
static void* __stdcall adlMallocCallback(int n) { return malloc(n); }
#define GETPROCADDRESS(_adltype_, _adlfunc_) (_adltype_) amd::Os::getSymbol(adlHandle_, #_adlfunc_);
namespace amd {
#if !defined(BRAHMA) && !defined(WITH_LIGHTNING_COMPILER)
static void* __stdcall adlMallocCallback(int n) { return malloc(n); }
class ADL {
public:
ADL();