Fix -Wmaybe-uninitialized warning

Initialize the scheme variable to QMI_VOICE_USS_DATA_CODING_SCHEME_UNKNOWN
to avoid the warning.
This commit is contained in:
Yegor Yefremov
2021-09-18 22:32:42 +02:00
committed by Aleksander Morgado
parent a046c13ad2
commit 8b80da152b

View File

@@ -8615,7 +8615,7 @@ modem_3gpp_ussd_send (MMIfaceModem3gppUssd *_self,
MMBroadbandModemQmi *self = MM_BROADBAND_MODEM_QMI (_self);
GTask *task;
QmiClient *client;
QmiVoiceUssDataCodingScheme scheme;
QmiVoiceUssDataCodingScheme scheme = QMI_VOICE_USS_DATA_CODING_SCHEME_UNKNOWN;
g_autoptr(GArray) encoded = NULL;
GError *error = NULL;
MMModem3gppUssdSessionState state;