From: wchang kim Date: Fri, 30 Jun 2023 06:25:00 +0000 (+0900) Subject: Fixed the build error using gcc 13 X-Git-Tag: accepted/tizen/unified/20230705.063706^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a58e48b9d729112a4f71eebff13ccd25f5aef5c;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git Fixed the build error using gcc 13 Change-Id: Iefa363988270a08551e398e9d8f2c5bf12fc1ba7 --- diff --git a/src/wifi-dpp.c b/src/wifi-dpp.c index 1133191..24094e9 100755 --- a/src/wifi-dpp.c +++ b/src/wifi-dpp.c @@ -294,9 +294,9 @@ static gboolean __netconfig_wifi_invoke_dpp_qr_code(const char *peer_uri, guint3 #define DEBUG_G_VARIANT(str, parameters)\ do {\ gchar *parameters_debug_str = NULL;\ - if (parameters)\ + if (parameters != NULL) \ parameters_debug_str = g_variant_print(parameters, TRUE);\ - DBG("%s[%s]", str, parameters_debug_str ? parameters_debug_str : "NULL");\ + DBG("%s[%s]", str, parameters_debug_str ? parameters_debug_str : "NULL");\ g_free(parameters_debug_str);\ } while (0)