From 005d04e145689afcb77aaaef832ca003c9523653 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 18 May 2020 11:01:34 +0200 Subject: [PATCH] Manta: Cleanup, strict compiler flag For some reason was only visible with gcc-10 in release builds. Kind of makes sense since there is no CMake code which removes strict compiler flag, so deal with strict flags in the code itself. --- intern/mantaflow/intern/MANTA_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/intern/mantaflow/intern/MANTA_main.cpp b/intern/mantaflow/intern/MANTA_main.cpp index 0bf67cf1ea3..0b7f9b2590e 100644 --- a/intern/mantaflow/intern/MANTA_main.cpp +++ b/intern/mantaflow/intern/MANTA_main.cpp @@ -2982,6 +2982,7 @@ bool MANTA::updateGridsFromUni(string filename, vector grids) return false; } assert(expectedBytes == readBytes); + (void)expectedBytes; if (with_debug) cout << "Fluid: Read successfully: " << filename << endl;