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:

committed by
Aleksander Morgado

parent
a046c13ad2
commit
8b80da152b
@@ -8615,7 +8615,7 @@ modem_3gpp_ussd_send (MMIfaceModem3gppUssd *_self,
|
|||||||
MMBroadbandModemQmi *self = MM_BROADBAND_MODEM_QMI (_self);
|
MMBroadbandModemQmi *self = MM_BROADBAND_MODEM_QMI (_self);
|
||||||
GTask *task;
|
GTask *task;
|
||||||
QmiClient *client;
|
QmiClient *client;
|
||||||
QmiVoiceUssDataCodingScheme scheme;
|
QmiVoiceUssDataCodingScheme scheme = QMI_VOICE_USS_DATA_CODING_SCHEME_UNKNOWN;
|
||||||
g_autoptr(GArray) encoded = NULL;
|
g_autoptr(GArray) encoded = NULL;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
MMModem3gppUssdSessionState state;
|
MMModem3gppUssdSessionState state;
|
||||||
|
Reference in New Issue
Block a user