mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
soup: Fix static build with MSVC
../ext/soup/gstsouploader.c(818): error C4098: '_soup_session_send_async': 'void' function returning a value It's technically a false warning, but that's how MSVC works, so fix it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1805>
This commit is contained in:
parent
7f04ee970b
commit
f42f65a993
1 changed files with 3 additions and 4 deletions
|
@ -814,11 +814,10 @@ _soup_session_send_async (SoupSession * session, SoupMessage * msg,
|
|||
{
|
||||
#ifdef STATIC_SOUP
|
||||
#if STATIC_SOUP == 2
|
||||
return soup_session_send_async (session, msg, cancellable,
|
||||
callback, user_data);
|
||||
soup_session_send_async (session, msg, cancellable, callback, user_data);
|
||||
#else
|
||||
return soup_session_send_async (session, msg, G_PRIORITY_DEFAULT,
|
||||
cancellable, callback, user_data);
|
||||
soup_session_send_async (session, msg, G_PRIORITY_DEFAULT, cancellable,
|
||||
callback, user_data);
|
||||
#endif
|
||||
#else
|
||||
if (gst_soup_vtable.lib_version == 3) {
|
||||
|
|
Loading…
Reference in a new issue