SRV_Channel: Simplify boolean expression

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2021-02-03 11:04:39 -03:00 committed by Andrew Tridgell
parent 300a14aaae
commit 0e76006dc5

View File

@ -196,7 +196,7 @@ public:
// return true if the channel is reversed // return true if the channel is reversed
bool get_reversed(void) const { bool get_reversed(void) const {
return reversed?true:false; return reversed != 0;
} }
// set MIN/MAX parameters // set MIN/MAX parameters