ublox: fix uninitialized variable issue

This patch fixes an uninitialized variable issue in
mm_ublox_parse_ugcntrd_response_for_cid(), which uses an uninitialized
`match_info' when `in_cid' is invalid.
This commit is contained in:
Ben Chan
2017-01-23 23:08:15 -08:00
committed by Aleksander Morgado
parent 4e5d8d7e8c
commit c8ec731043

View File

@@ -970,7 +970,7 @@ mm_ublox_parse_ugcntrd_response_for_cid (const gchar *response,
GError **error)
{
GRegex *r;
GMatchInfo *match_info;
GMatchInfo *match_info = NULL;
GError *inner_error = NULL;
guint session_tx_bytes = 0;
guint session_rx_bytes = 0;