function HostAddrToStr6 in sockets.inc: don't compare a boolean variable to True
Original Reporter info from Mantis: Bart @flyingsheep
-
Reporter name: Bart Broersma
Original Reporter info from Mantis: Bart @flyingsheep
- Reporter name: Bart Broersma
Description:
Related to #37013 (closed)
There is no need to compare a boolean variable to True (nor to False for that matter).
Attached patch replaces 2 occurrences of such "if BooleanVar = True" with a simple "if BooleanVar"
No functional changes.
Just a little tweak in the coding style.
Feel free to dismiss.