Skip to content

Commit 31ac7c0

Browse files
committed
fix code not compiled on linux
1 parent 9e37c6b commit 31ac7c0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/crypto/tests/TestChipCryptoPAL.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ using TestHMAC_sha = HMAC_sha;
9191
class HeapChecker
9292
{
9393
public:
94-
explicit HeapChecker(nlTestSuite * testSuite) : mTestSuite(testSuite)
94+
explicit HeapChecker()
9595
{
96-
9796
size_t numBlocks;
9897
mbedtls_memory_buffer_alloc_cur_get(&mHeapBytesUsed, &numBlocks);
9998
}
@@ -112,7 +111,6 @@ class HeapChecker
112111
}
113112

114113
private:
115-
nlTestSuite * mTestSuite;
116114
size_t mHeapBytesUsed;
117115
};
118116
#else

0 commit comments

Comments
 (0)