diff --git a/linux/Platform.c b/linux/Platform.c index 5fe8507f..ebd10331 100644 --- a/linux/Platform.c +++ b/linux/Platform.c @@ -77,7 +77,7 @@ int Platform_getUptime() { fscanf(fd, "%64lf", &uptime); fclose(fd); } - int totalseconds = (int) floor(uptime); + return (int) floor(uptime); } void Platform_getLoadAverage(double* one, double* five, double* fifteen) {