Merged in jonesmz/libqxt/qxtavahipoll2 (pull request #36)

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:
Arvid Picciani 2013-08-25 01:49:11 +02:00
commit ef0a8b3d48
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ void AvahiWatch::setEventType(AvahiWatchEvent event)
void AvahiWatch::activated(int fd)
{
Q_UNUSED(fd);
_lastEvent = _event;
_callback(this, _fd, _event, _userdata);
_lastEvent = (AvahiWatchEvent)0;