1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Remove redundant "== true" code

If it can be compared to a boolean, it can be evaluated as one in-place.
This commit is contained in:
Aaron Franke
2018-10-03 13:40:37 -04:00
parent ffe94ef4e2
commit 37386f112b
19 changed files with 27 additions and 27 deletions

View File

@@ -2487,7 +2487,7 @@ _Thread::~_Thread() {
if (active) {
ERR_EXPLAIN("Reference to a Thread object object was lost while the thread is still running...");
}
ERR_FAIL_COND(active == true);
ERR_FAIL_COND(active);
}
/////////////////////////////////////