mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
[rtsp] Silence event_del warnings
This commit is contained in:
parent
81a93bbec1
commit
467b652da0
@ -767,7 +767,9 @@ static void
|
||||
evrtsp_connection_stop_detectclose(struct evrtsp_connection *evcon)
|
||||
{
|
||||
evcon->flags &= ~EVRTSP_CON_CLOSEDETECT;
|
||||
event_del(&evcon->close_ev);
|
||||
|
||||
if (event_initialized(&evcon->close_ev))
|
||||
event_del(&evcon->close_ev);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user