Skip to content

Commit 4f3a968

Browse files
Potential fix for code scanning alert no. 5680: Unused local variable
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent c81183d commit 4f3a968

File tree

1 file changed

+1
-1
lines changed
  • TestCases/py_wrapper/custom_source_buoyancy

1 file changed

+1
-1
lines changed

TestCases/py_wrapper/custom_source_buoyancy/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main():
5959
# all the indices and the map to the names of the primitives
6060
primindex = driver.GetPrimitiveIndices()
6161

62-
nVars = driver.GetNumberSolverVars(iSOLVER)
62+
6363
varindex = primindex.copy()
6464
#for prim in varindex.copy():
6565
# if varindex[prim] >=nVars:

0 commit comments

Comments
 (0)