cid#360695 Dereference after null check

<< precedence is higher than ?

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ie7a77ba949195b91df3b87059c0c458c57b2be94
pull/8832/head
Caolán McNamara 2024-04-23 09:32:58 +01:00 committed by Miklos Vajna
parent e6de6b9f93
commit 843b286d8c
1 changed files with 1 additions and 1 deletions

View File

@ -3556,7 +3556,7 @@ private:
if (it != NewChildren.end())
NewChildren.erase(it);
else
LOG_WRN("Unknown Kit process closed with pid " << child ? child->getPid() : -1);
LOG_WRN("Unknown Kit process closed with pid " << (child ? child->getPid() : -1));
#if !MOBILEAPP
rebalanceChildren(COOLWSD::NumPreSpawnedChildren);
#endif