diff options
Diffstat (limited to 'src/client/mac/handler')
-rw-r--r-- | src/client/mac/handler/testcases/breakpad_nlist_test.cc | 6 | ||||
-rw-r--r-- | src/client/mac/handler/testcases/breakpad_nlist_test.h | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/client/mac/handler/testcases/breakpad_nlist_test.cc b/src/client/mac/handler/testcases/breakpad_nlist_test.cc index df3c86e9..e7332bfb 100644 --- a/src/client/mac/handler/testcases/breakpad_nlist_test.cc +++ b/src/client/mac/handler/testcases/breakpad_nlist_test.cc @@ -65,12 +65,12 @@ void BreakpadNlistTest::CompareToNM() { breakpad_nlist symbolList[2]; breakpad_nlist &list = symbolList[0]; - memset(symbolList,0, sizeof(breakpad_nlist)*2); + memset(symbolList, 0, sizeof(breakpad_nlist)*2); const char *symbolNames[2]; symbolNames[0] = (const char*)symbolName; symbolNames[1] = "\0"; - breakpad_nlist_64("/usr/lib/dyld",&list, symbolNames); - uint64_t nmAddr = strtol(oneNMAddr,NULL,16); + breakpad_nlist_64("/usr/lib/dyld", &list, symbolNames); + uint64_t nmAddr = strtol(oneNMAddr, NULL, 16); if (!IsSymbolMoreThanOnceInDyld(symbolName)) { CPTAssert(nmAddr == symbolList[0].n_value); } diff --git a/src/client/mac/handler/testcases/breakpad_nlist_test.h b/src/client/mac/handler/testcases/breakpad_nlist_test.h index 21b009b4..e93657cc 100644 --- a/src/client/mac/handler/testcases/breakpad_nlist_test.h +++ b/src/client/mac/handler/testcases/breakpad_nlist_test.h @@ -41,7 +41,6 @@ #include <CPlusTest/CPlusTest.h> class BreakpadNlistTest : public TestCase { - private: // nm dumps multiple addresses for the same symbol in |