[Base] remove some more superfluous nullptr checks

This commit is contained in:
Uwe
2022-07-18 13:07:16 +02:00
parent 142cfce9f7
commit 90abdf2752
5 changed files with 6 additions and 6 deletions

View File

@@ -344,7 +344,7 @@ PyObject * FileException::getPyObject()
void FileException::setPyObject( PyObject * pydict)
{
if (pydict!=nullptr) {
if (pydict) {
Exception::setPyObject(pydict);
Py::Dict edict(pydict);