Cocoa Port: Do some minor code cleanup.

This commit is contained in:
rogerman 2018-11-01 00:02:05 -07:00
parent 84e5228274
commit 1e9aa08f54
2 changed files with 2 additions and 5 deletions

View File

@ -784,7 +784,7 @@ void ClientDisplayPresenter::SetHUDColorInputPendingOnly(uint32_t color32)
uint32_t ClientDisplayPresenter::GetInputColorUsingStates(bool pendingState, bool appliedState)
{
uint32_t color = this->_hudColorInputAppliedAndPending;
uint32_t color = LE_TO_LOCAL_32(0x80808080);
if (pendingState && appliedState)
{
@ -798,10 +798,6 @@ uint32_t ClientDisplayPresenter::GetInputColorUsingStates(bool pendingState, boo
{
color = this->_hudColorInputPendingOnly;
}
else
{
color = LE_TO_LOCAL_32(0x80808080);
}
return color;
}

View File

@ -214,6 +214,7 @@
}
}
[numberFormatter release];
return ip4Address_u32;
}