From bbe5ac1458f3719fd51785f086e9166ccbb0c464 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 5 Feb 2003 21:44:28 +0000 Subject: Squelch warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5494 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Support/Timer.cpp') 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)) -- cgit v1.2.3