From 4fa1fc29bd45835e26ff3497af8cf2a7c61d3c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Barschkis?= Date: Tue, 19 May 2020 12:33:17 +0200 Subject: Fluid: Cleanup unused variables --- intern/mantaflow/intern/MANTA_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/mantaflow') diff --git a/intern/mantaflow/intern/MANTA_main.cpp b/intern/mantaflow/intern/MANTA_main.cpp index a2666135c34..95013958561 100644 --- a/intern/mantaflow/intern/MANTA_main.cpp +++ b/intern/mantaflow/intern/MANTA_main.cpp @@ -564,7 +564,7 @@ MANTA::~MANTA() result = runPythonString(pythonCommands); assert(result); - (void)result; // not needed in release + UNUSED_VARS(result); } /** @@ -2997,7 +2997,7 @@ bool MANTA::updateGridsFromUni(string filename, vector grids) return false; } assert(expectedBytes == readBytes); - (void)expectedBytes; + UNUSED_VARS(expectedBytes); if (with_debug) cout << "Fluid: Read successfully: " << filename << endl; -- cgit v1.2.3