Fix redundant check
Clarify variable usage
svn path=/trunk/; revision=56114
{
miiSrc.wID += uIDAdjust; /* add uIDAdjust to the ID */
- if (miiSrc.wID > uIDAdjustMax && miiSrc.wID > uIDAdjustMax) /* skip ID's higher uIDAdjustMax */
+ if (miiSrc.wID > uIDAdjustMax) /* skip ID's higher uIDAdjustMax */
continue;
if (uIDMax <= miiSrc.wID) /* remember the highest ID */
uIDMax = miiSrc.wID + 1;
{
miiSrc.wID += uIDAdjust; /* add uIDAdjust to the ID */
- if (miiSrc.wID > uIDAdjustMax && miiSrc.wID > uIDAdjustMax) /* skip ID's higher uIDAdjustMax */{
+ if (miiSrc.wID > uIDAdjustMax) /* skip ID's higher uIDAdjustMax */{
continue;
}
if (uIDMax <= miiSrc.wID) /* remember the highest ID */
TRACE("%p uState=%x\n", this, uState);
/*don't do anything if the state isn't really changing */
- if (uState == uState)
+ if (this->uState == uState)
{
return;
}
TRACE("(%p)->(state=%x) stub\n", this, uState);
/*don't do anything if the state isn't really changing*/
- if (uState == uState)
+ if (this->uState == uState)
{
return S_OK;
}