Supresses compiler warning about unused parameter using Q_UNUSED macro
This commit is contained in:
parent
985be4cd97
commit
97d47c21e5
|
@ -168,8 +168,9 @@ void AvahiWatch::setEventType(AvahiWatchEvent event)
|
|||
|
||||
void AvahiWatch::activated(int fd)
|
||||
{
|
||||
Q_UNUSED(fd);
|
||||
_lastEvent = _event;
|
||||
_callback(this, fd, _event, _userdata);
|
||||
_callback(this, _fd, _event, _userdata);
|
||||
_lastEvent = (AvahiWatchEvent)0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue