Cleanup: Clang-Tidy, modernize-use-bool-literals

This commit is contained in:
2020-11-06 14:25:30 +01:00
parent dfa027fe09
commit af35ada2f3
17 changed files with 28 additions and 28 deletions

View File

@@ -495,7 +495,7 @@ static PyObject *BPy_FrsMaterial_richcmpr(PyObject *objectA,
int comparison_type)
{
const BPy_FrsMaterial *matA = NULL, *matB = NULL;
bool result = 0;
bool result = false;
if (!BPy_FrsMaterial_Check(objectA) || !BPy_FrsMaterial_Check(objectB)) {
if (comparison_type == Py_NE) {