Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-05-18 12:01:34 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-05-18 12:05:45 +0300
commit005d04e145689afcb77aaaef832ca003c9523653 (patch)
treea176efacab4e78e52a8be2a409074c33a50f980f /intern/mantaflow/intern/MANTA_main.cpp
parenta432cb2ad93dc99a04474b1035ae69483a11c907 (diff)
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.
Diffstat (limited to 'intern/mantaflow/intern/MANTA_main.cpp')
-rw-r--r--intern/mantaflow/intern/MANTA_main.cpp1
1 files changed, 1 insertions, 0 deletions
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;