diff options
Diffstat (limited to 'extern/mantaflow/preprocessed/fileio/iovdb.cpp')
-rw-r--r-- | extern/mantaflow/preprocessed/fileio/iovdb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extern/mantaflow/preprocessed/fileio/iovdb.cpp b/extern/mantaflow/preprocessed/fileio/iovdb.cpp index b31f7e0e760..b990274e1c4 100644 --- a/extern/mantaflow/preprocessed/fileio/iovdb.cpp +++ b/extern/mantaflow/preprocessed/fileio/iovdb.cpp @@ -405,6 +405,7 @@ int writeObjectsVDB(const string &filename, vdb_flags = openvdb::io::COMPRESS_NONE; break; } + default: case COMPRESSION_ZIP: { vdb_flags |= openvdb::io::COMPRESS_ZIP; break; @@ -445,6 +446,7 @@ int readObjectsVDB(const string &filename, std::vector<PbClass *> *objects, floa (void)metadata; // Unused for now } catch (const openvdb::IoError &e) { + (void)e; // Unused for now debMsg("readObjectsVDB: Could not open vdb file " << filename, 1); file.close(); return 0; |