From f42f65a993013fd74dfeaebae9673a542910f2e6 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 3 Mar 2022 23:04:36 +0530 Subject: [PATCH] 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: --- subprojects/gst-plugins-good/ext/soup/gstsouploader.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/subprojects/gst-plugins-good/ext/soup/gstsouploader.c b/subprojects/gst-plugins-good/ext/soup/gstsouploader.c index 8f6ae9d..6ea660f 100644 --- a/subprojects/gst-plugins-good/ext/soup/gstsouploader.c +++ b/subprojects/gst-plugins-good/ext/soup/gstsouploader.c @@ -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) { -- 2.7.4