mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Remove unnecessary parenthesis.
This commit is contained in:
parent
eb95e9a718
commit
76edc08506
@ -38,7 +38,7 @@ double Service::GetFlappingCurrent(void) const
|
||||
if (m_FlappingNegative.IsEmpty() || m_FlappingPositive.IsEmpty())
|
||||
return 0;
|
||||
|
||||
if ((m_FlappingPositive + m_FlappingNegative) <= 0)
|
||||
if (m_FlappingPositive + m_FlappingNegative <= 0)
|
||||
return 0;
|
||||
|
||||
return 100 * m_FlappingPositive / (m_FlappingPositive + m_FlappingNegative);
|
||||
|
Loading…
x
Reference in New Issue
Block a user