mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-13 02:31:54 +00:00
miracle-dispd: remove some compiler warmings
Change-Id: Ief2ae8e2992c2fee34fe560af73deb955a9186de
This commit is contained in:
parent
e0a3b62e6b
commit
f4d1e4fb1b
2 changed files with 1 additions and 2 deletions
|
@ -158,6 +158,7 @@ int ctl_wfd_find_session_by_id(struct ctl_wfd *wfd,
|
|||
int ctl_wfd_remove_session_by_id(struct ctl_wfd *wfd,
|
||||
unsigned int id,
|
||||
struct wfd_session **out);
|
||||
void ctl_wfd_shutdown(struct ctl_wfd *wfd);
|
||||
unsigned int ctl_wfd_alloc_session_id(struct ctl_wfd *wfd);
|
||||
static inline struct sd_event * ctl_wfd_get_loop()
|
||||
{
|
||||
|
|
|
@ -85,8 +85,6 @@ int wfd_sink_new(struct wfd_sink **out,
|
|||
|
||||
void wfd_sink_free(struct wfd_sink *sink)
|
||||
{
|
||||
struct wfd_session *s;
|
||||
|
||||
if(!sink) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue