mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Squelch warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5494 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -89,7 +89,7 @@ struct TimeRecord {
|
|||||||
static TimeRecord getTimeRecord(bool Start) {
|
static TimeRecord getTimeRecord(bool Start) {
|
||||||
struct rusage RU;
|
struct rusage RU;
|
||||||
struct timeval T;
|
struct timeval T;
|
||||||
long MemUsed;
|
long MemUsed = 0;
|
||||||
if (Start) {
|
if (Start) {
|
||||||
MemUsed = getMemUsage();
|
MemUsed = getMemUsage();
|
||||||
if (getrusage(RUSAGE_SELF, &RU))
|
if (getrusage(RUSAGE_SELF, &RU))
|
||||||
|
@@ -89,7 +89,7 @@ struct TimeRecord {
|
|||||||
static TimeRecord getTimeRecord(bool Start) {
|
static TimeRecord getTimeRecord(bool Start) {
|
||||||
struct rusage RU;
|
struct rusage RU;
|
||||||
struct timeval T;
|
struct timeval T;
|
||||||
long MemUsed;
|
long MemUsed = 0;
|
||||||
if (Start) {
|
if (Start) {
|
||||||
MemUsed = getMemUsage();
|
MemUsed = getMemUsage();
|
||||||
if (getrusage(RUSAGE_SELF, &RU))
|
if (getrusage(RUSAGE_SELF, &RU))
|
||||||
|
Reference in New Issue
Block a user