diff options
author | Ben Chan <benchan@chromium.org> | 2017-08-03 15:54:38 -0700 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-08-04 15:15:41 +0200 |
commit | 941a41d30f1a468e7d689962a6658b39e9acede1 (patch) | |
tree | 3a19c0d3d3562040300514d8113fd71a8aabdef0 /src/mm-sim-qmi.c | |
parent | e33aa01963172a138833fbf84e54ef6b537c93bd (diff) |
broadband-modem: ensure `match_info' is always initialized
This patch initializes `match_info' in registration_status_check_ready()
to NULL by default, such that `match_info' is always initialized even if
`self->priv->modem_3gpp_registration_regex' contains no elements.
Though `self->priv->modem_3gpp_registration_regex' always contains some
elements in the current implementation, it's better not to rely on that.
Diffstat (limited to 'src/mm-sim-qmi.c')
0 files changed, 0 insertions, 0 deletions