Supresses compiler warning about unused parameters by replacing a member variable usage with the paramater, the runtime behavior should remain the same
This commit is contained in:
parent
81f56ebf5b
commit
985be4cd97
|
@ -169,7 +169,7 @@ void AvahiWatch::setEventType(AvahiWatchEvent event)
|
|||
void AvahiWatch::activated(int fd)
|
||||
{
|
||||
_lastEvent = _event;
|
||||
_callback(this, _fd, _event, _userdata);
|
||||
_callback(this, fd, _event, _userdata);
|
||||
_lastEvent = (AvahiWatchEvent)0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue