[Bf-blender-cvs] [4fa1fc29bd4] master: Fluid: Cleanup unused variables
Sebastián Barschkis
noreply at git.blender.org
Tue May 19 12:33:39 CEST 2020
Commit: 4fa1fc29bd45835e26ff3497af8cf2a7c61d3c73
Author: Sebastián Barschkis
Date: Tue May 19 12:33:17 2020 +0200
Branches: master
https://developer.blender.org/rB4fa1fc29bd45835e26ff3497af8cf2a7c61d3c73
Fluid: Cleanup unused variables
===================================================================
M intern/mantaflow/intern/MANTA_main.cpp
===================================================================
diff --git a/intern/mantaflow/intern/MANTA_main.cpp b/intern/mantaflow/intern/MANTA_main.cpp
index a2666135c34..95013958561 100644
--- a/intern/mantaflow/intern/MANTA_main.cpp
+++ b/intern/mantaflow/intern/MANTA_main.cpp
@@ -564,7 +564,7 @@ MANTA::~MANTA()
result = runPythonString(pythonCommands);
assert(result);
- (void)result; // not needed in release
+ UNUSED_VARS(result);
}
/**
@@ -2997,7 +2997,7 @@ bool MANTA::updateGridsFromUni(string filename, vector<GridItem> grids)
return false;
}
assert(expectedBytes == readBytes);
- (void)expectedBytes;
+ UNUSED_VARS(expectedBytes);
if (with_debug)
cout << "Fluid: Read successfully: " << filename << endl;
More information about the Bf-blender-cvs
mailing list