Skip to content

Commit

Permalink
Merge pull request #250 from waywardmonkeys/remove-unused-malloc-hook…
Browse files Browse the repository at this point in the history
…-functions

Remove unused malloc hook functions on non-Linux platforms.
  • Loading branch information
pixar-oss committed Jan 5, 2018
2 parents 6258514 + af20315 commit 07cc560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxr/base/lib/arch/mallocHook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ static bool _GetSymbol(T* addr, const char* name, string* errMsg) {
return false;
}
}
#endif

static bool
_MallocHookAvailable()
Expand Down Expand Up @@ -232,6 +231,7 @@ _GetUnderlyingMallocFunctionNames()

return names;
}
#endif

bool
ArchMallocHook::Initialize(
Expand Down

0 comments on commit 07cc560

Please sign in to comment.