Initialize PcieAccessApi* api and void* libpciaccess_handle to nullptr
Change-Id: I58306f12653a8cb532c107bc3852aa0df8f7c6b9
[ROCm/rocprofiler commit: 2a65365b46]
This commit is contained in:
1 bovenliggende
8d53eb2836
commit
2be5e3b45a
1 file changed
+2
-2
@@ -26,8 +26,8 @@
|
||||
|
||||
|
||||
namespace rocprofiler {
|
||||
PcieAccessApi* api;
|
||||
void* libpciaccess_handle;
|
||||
PcieAccessApi* api = nullptr;
|
||||
void* libpciaccess_handle = nullptr;
|
||||
|
||||
// A function just to load all the symbols you need
|
||||
PcieAccessApi* LoadPcieAccessLibAPI() {
|
||||
|
||||
Reference in new issue
Block a user