1
0
Fork 0
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:
Derek Dai 2017-04-13 16:34:51 +08:00
parent e0a3b62e6b
commit f4d1e4fb1b
2 changed files with 1 additions and 2 deletions

View file

@ -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()
{

View file

@ -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;
}