diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-05-18 12:01:34 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-05-18 12:05:45 +0300 |
commit | 005d04e145689afcb77aaaef832ca003c9523653 (patch) | |
tree | a176efacab4e78e52a8be2a409074c33a50f980f /intern/mantaflow | |
parent | a432cb2ad93dc99a04474b1035ae69483a11c907 (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')
-rw-r--r-- | intern/mantaflow/intern/MANTA_main.cpp | 1 |
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; |