diff options
author | Chris Lattner <sabre@nondot.org> | 2003-02-05 21:44:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-02-05 21:44:28 +0000 |
commit | bbe5ac1458f3719fd51785f086e9166ccbb0c464 (patch) | |
tree | 5f674ecac4ada5be473861efee9ba21213496514 /lib/Support/Timer.cpp | |
parent | a329733f471a51d64dadbc4ac400c7e54d94358b (diff) |
Squelch warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Timer.cpp')
-rw-r--r-- | lib/Support/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp index 8023c500e5..3a81fc4b53 100644 --- a/lib/Support/Timer.cpp +++ b/lib/Support/Timer.cpp @@ -89,7 +89,7 @@ struct TimeRecord { static TimeRecord getTimeRecord(bool Start) { struct rusage RU; struct timeval T; - long MemUsed; + long MemUsed = 0; if (Start) { MemUsed = getMemUsage(); if (getrusage(RUSAGE_SELF, &RU)) |