Squelch warning

llvm-svn: 5494
This commit is contained in:
Chris Lattner 2003-02-05 21:44:28 +00:00
parent 6a9307866c
commit 5981c63e6e
2 changed files with 2 additions and 2 deletions

View File

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

View File

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