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:
Michael Jones 2013-08-22 14:59:31 -05:00
parent 81f56ebf5b
commit 985be4cd97
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}