[Bf-blender-cvs] [005d04e1456] master: Manta: Cleanup, strict compiler flag
Sergey Sharybin
noreply at git.blender.org
Mon May 18 11:06:12 CEST 2020
Commit: 005d04e145689afcb77aaaef832ca003c9523653
Author: Sergey Sharybin
Date: Mon May 18 11:01:34 2020 +0200
Branches: master
https://developer.blender.org/rB005d04e145689afcb77aaaef832ca003c9523653
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.
===================================================================
M intern/mantaflow/intern/MANTA_main.cpp
===================================================================
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<GridItem> grids)
return false;
}
assert(expectedBytes == readBytes);
+ (void)expectedBytes;
if (with_debug)
cout << "Fluid: Read successfully: " << filename << endl;
More information about the Bf-blender-cvs
mailing list