Projects
mingw:32
mingw32-vlc
fix-no-return-in-non-void.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-no-return-in-non-void.patch of Package mingw32-vlc
diff --git a/modules/access/dtv/bdagraph.cpp b/modules/access/dtv/bdagraph.cpp index 5081ae5..dafaf66 100644 --- a/modules/access/dtv/bdagraph.cpp +++ b/modules/access/dtv/bdagraph.cpp @@ -167,6 +167,7 @@ void dvb_remove_pid (dvb_device_t *, uint16_t) unsigned dvb_enum_systems (dvb_device_t *) { #warning TODO +return 0; } float dvb_get_signal_strength (dvb_device_t *) diff --git a/modules/access/mms/mmstu.c b/modules/access/mms/mmstu.c index 4ea1cca..18bad5a 100644 --- a/modules/access/mms/mmstu.c +++ b/modules/access/mms/mmstu.c @@ -1570,6 +1570,8 @@ static void *KeepAliveThread( void *p_data ) msleep( 10 * CLOCK_FREQ ); } assert(0); + + return NULL; } static void KeepAliveStart( access_t *p_access ) diff --git a/modules/control/netsync.c b/modules/control/netsync.c index 6db3c34..4fe8cbf 100644 --- a/modules/control/netsync.c +++ b/modules/control/netsync.c @@ -209,6 +209,8 @@ static void *Master(void *handle) : "non-IPv4", /*date*/ 0); #endif } + + return NULL; } static void *Slave(void *handle) @@ -265,6 +267,8 @@ static void *Slave(void *handle) wait: msleep(INTF_IDLE_SLEEP); } + + return NULL; } static int InputEvent(vlc_object_t *object, char const *cmd, diff --git a/modules/services_discovery/podcast.c b/modules/services_discovery/podcast.c index 5c936cf..999b34d 100644 --- a/modules/services_discovery/podcast.c +++ b/modules/services_discovery/podcast.c @@ -246,6 +246,8 @@ static void *Run( void *data ) } vlc_cleanup_pop(); assert(0); /* dead code */ + + return NULL; } static int UrlsChange( vlc_object_t *p_this, char const *psz_var, diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c index b12b34e..1b8760c 100644 --- a/modules/stream_out/rtp.c +++ b/modules/stream_out/rtp.c @@ -1476,6 +1476,8 @@ static void *rtp_listen_thread( void *data ) } assert( 0 ); + + return NULL; } diff --git a/src/misc/events.c b/src/misc/events.c index e3b1ee0..9afe646 100644 --- a/src/misc/events.c +++ b/src/misc/events.c @@ -61,7 +61,7 @@ typedef struct vlc_event_listeners_group_t Correctly when vlc_event_detach was called during a callback */ bool b_sublistener_removed; - + } vlc_event_listeners_group_t; static bool @@ -147,7 +147,7 @@ int vlc_event_manager_register_event_type( listeners_group->event_type = event_type; ARRAY_INIT( listeners_group->listeners ); - + vlc_mutex_lock( &p_em->object_lock ); ARRAY_APPEND( p_em->listeners_groups, listeners_group ); vlc_mutex_unlock( &p_em->object_lock ); @@ -197,7 +197,7 @@ void vlc_event_send( vlc_event_manager_t * p_em, } FOREACH_END() vlc_mutex_unlock( &p_em->object_lock ); - + /* Call the function attached */ cached_listener = array_of_cached_listeners; @@ -250,7 +250,7 @@ int vlc_event_attach( vlc_event_manager_t * p_em, listener = malloc(sizeof(vlc_event_listener_t)); if( !listener ) return VLC_ENOMEM; - + listener->p_user_data = p_user_data; listener->pf_callback = pf_callback; @@ -265,6 +265,8 @@ int vlc_event_attach( vlc_event_manager_t * p_em, FOREACH_END() /* Unknown event = BUG */ assert( 0 ); + + return 0; } /** diff --git a/src/stream_output/sap.c b/src/stream_output/sap.c index 4a3b7c2..63920e1 100644 --- a/src/stream_output/sap.c +++ b/src/stream_output/sap.c @@ -200,6 +200,8 @@ static void *RunThread (void *self) vlc_cleanup_pop (); assert (0); + + return NULL; } /** diff --git a/src/video_output/display.c b/src/video_output/display.c index a25c3be..26359d9 100644 --- a/src/video_output/display.c +++ b/src/video_output/display.c @@ -557,6 +557,8 @@ static void *VoutDisplayEventKeyDispatch(void *data) vlc_restorecancel(cancel); } + + return NULL; } static void VoutDisplayEventKey(vout_display_t *vd, int key) diff --git a/src/win32/dirs.c b/src/win32/dirs.c index 1f6ee33..5bed96e 100644 --- a/src/win32/dirs.c +++ b/src/win32/dirs.c @@ -133,4 +133,6 @@ char *config_GetUserDir (vlc_userdir_t type) return config_GetShellDir (CSIDL_MYVIDEO); } assert (0); + + return NULL; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.