Commit 084626e6 authored by Richard Berger's avatar Richard Berger
Browse files

Fixes coverity issue CID 179426

parent a7d790a8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -313,6 +313,9 @@ void PythonImpl::invoke_function(int ifunc, char *result)
      }
    } else if (itype == PTR) {
      pValue = PY_VOID_POINTER(lmp);
    } else {
      PyGILState_Release(gstate);
      error->all(FLERR,"Unsupported variable type");
    }
    PyTuple_SetItem(pArgs,i,pValue);
  }