From ecd68807d78b13d7767d1fca8b208b0b3cb388de Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Tue, 17 Oct 2017 18:49:11 +0200 Subject: [PATCH] [App/U] GMSH2OGS: Fix unused variable INFO. If INFO expands to nothing the variable for output remains unused. --- Applications/Utils/FileConverter/GMSH2OGS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/Utils/FileConverter/GMSH2OGS.cpp b/Applications/Utils/FileConverter/GMSH2OGS.cpp index 885880d3757..ca7f9649866 100644 --- a/Applications/Utils/FileConverter/GMSH2OGS.cpp +++ b/Applications/Utils/FileConverter/GMSH2OGS.cpp @@ -81,8 +81,8 @@ int main (int argc, char* argv[]) return -1; } #ifndef WIN32 - unsigned long mem_with_mesh (mem_watch.getVirtMemUsage()); - INFO("Mem for mesh: %i MB", (mem_with_mesh - mem_without_mesh)/(1024*1024)); + INFO("Mem for mesh: %i MB", + (mem_watch.getVirtMemUsage() - mem_without_mesh) / (1024 * 1024)); #endif INFO("Time for reading: %f seconds.", run_time.elapsed()); -- GitLab