17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 09:49:19 +02:00

refactor(sonar): use nullptr literal (cpp:S4962)

This commit is contained in:
jerrrrycho
2026-10-10 15:05:47 +02:00
parent baafdcc1cc
commit 9657955e62
5 changed files with 8 additions and 8 deletions

View File

@@ -395,7 +395,7 @@ void python_taskqueue::exit()
auto python_taskqueue::insert(task_request const &Task) -> bool
{
if (!m_initialized || false == Global.python_enabled || Task.renderer.empty() || Task.input == nullptr || Task.target == 0)
if (!m_initialized || false == Global.python_enabled || Task.renderer.empty() || Task.input == nullptr || Task.target == nullptr)
{
return false;
}