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:
commit
ef0a8b3d48
|
@ -170,6 +170,7 @@ void AvahiWatch::setEventType(AvahiWatchEvent event)
|
||||||
|
|
||||||
void AvahiWatch::activated(int fd)
|
void AvahiWatch::activated(int fd)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(fd);
|
||||||
_lastEvent = _event;
|
_lastEvent = _event;
|
||||||
_callback(this, _fd, _event, _userdata);
|
_callback(this, _fd, _event, _userdata);
|
||||||
_lastEvent = (AvahiWatchEvent)0;
|
_lastEvent = (AvahiWatchEvent)0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user