From 349cee5bf6f6d9c61671d38ba38de00eb4506bfc Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer <eike@sf-mail.de> Date: Sat, 5 Jan 2013 15:42:25 +0100 Subject: [PATCH] SystemInformation: remove useless zeroing from QueryMemory() This has already been initialized in the constructor. Change-Id: I188f8c787c9335a88f797781a22f65b98bdcd583 --- SystemInformation.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/SystemInformation.cxx b/SystemInformation.cxx index 6087a5e..d9d69b6 100644 --- a/SystemInformation.cxx +++ b/SystemInformation.cxx @@ -3537,10 +3537,6 @@ bool SystemInformationImplementation::QueryAIXMemory() /** Query for the memory status */ int SystemInformationImplementation::QueryMemory() { - this->TotalVirtualMemory = 0; - this->TotalPhysicalMemory = 0; - this->AvailableVirtualMemory = 0; - this->AvailablePhysicalMemory = 0; #ifdef __CYGWIN__ // _SC_PAGE_SIZE does return the mmap() granularity on Cygwin, // see http://cygwin.com/ml/cygwin/2006-06/msg00350.html -- GitLab