HomeWildfire Games

Fix gcc warning reported by Imarok after rP23690
AuditedrP23692

Description

Fix gcc warning reported by Imarok after rP23690

Introduced in rP23690.
Gcc gives warning about missing parenthesis so this patch is adding them, not changing result of expression.
Fix proposed by Imarok in P206 after report on irc http://irclogs.wildfiregames.com/2020-05/2020-05-22-QuakeNet-%230ad-dev.log.

Differential Revision: https://code.wildfiregames.com/D2762
Reviewed by: elexis

Event Timeline

elexis accepted this commit.May 23 2020, 4:17 PM
elexis added a subscriber: elexis.

Verified that exactly one parenthesis is added that doesn't change the logic of this line and that it resolves the gcc warning, did not check the logic of 23690.

All concerns with this commit have now been addressed.May 23 2020, 4:17 PM