Style changes

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@265 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
nealsid 2008-04-30 00:56:17 +00:00
parent d906d0f7c9
commit d6f0f92de3
2 changed files with 3 additions and 4 deletions

View file

@ -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);
}

View file

@ -41,7 +41,6 @@
#include <CPlusTest/CPlusTest.h>
class BreakpadNlistTest : public TestCase {
private:
// nm dumps multiple addresses for the same symbol in