diff options
author | Felipe Borges <felipeborges@gnome.org> | 2021-05-27 15:05:55 +0200 |
---|---|---|
committer | Felipe Borges <felipeborges@gnome.org> | 2021-05-27 15:05:55 +0200 |
commit | 0b8607bc5dc4cce16ebb7c6a7bd71dfb3032d978 (patch) | |
tree | da4a95be0bfadbbf4143b3d6a885580b713b704b | |
parent | 695e9932db9cdf9351021ca4c6067de5712cdceb (diff) |
cinterion: avoid maybe-uninitialized warning by GCC 10
Reported at https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1371
-rw-r--r-- | plugins/cinterion/mm-modem-helpers-cinterion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cinterion/mm-modem-helpers-cinterion.c b/plugins/cinterion/mm-modem-helpers-cinterion.c index 67da6120..b63b67c1 100644 --- a/plugins/cinterion/mm-modem-helpers-cinterion.c +++ b/plugins/cinterion/mm-modem-helpers-cinterion.c @@ -978,7 +978,7 @@ mm_cinterion_parse_smong_response (const gchar *response, guint value = 0; GError *inner_error = NULL; g_autoptr(GMatchInfo) match_info = NULL; - g_autoptr(GRegex) regex; + g_autoptr(GRegex) regex = NULL; /* The AT^SMONG command returns a cell info table, where the second * column identifies the "GPRS status", which is exactly what we want. |