diff options
author | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-04-30 00:56:17 +0000 |
---|---|---|
committer | nealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2008-04-30 00:56:17 +0000 |
commit | d6f0f92de3692867d96bab15d70e0ce7a76cc04e (patch) | |
tree | a4e7b17973999da826edf10de50284c703131ddd /src/client/mac/handler/testcases | |
parent | Updated code to be compliant with style guidelines (diff) | |
download | breakpad-d6f0f92de3692867d96bab15d70e0ce7a76cc04e.tar.xz |
Style changes
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@265 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/handler/testcases')
-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 |