diff options
Diffstat (limited to 'support/lib/Support/Timer.cpp')
-rw-r--r-- | support/lib/Support/Timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/lib/Support/Timer.cpp b/support/lib/Support/Timer.cpp index 8023c500e5..3a81fc4b53 100644 --- a/support/lib/Support/Timer.cpp +++ b/support/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)) |