1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-06-30 15:49:31 +00:00

best-match: avoid using NULL phone number

Fixes #255
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-04-12 13:56:38 +02:00
parent 63cc6507e7
commit a072d8c7e3

View file

@ -306,6 +306,7 @@ calls_best_match_set_phone_number (CallsBestMatch *self,
gboolean have_country_code_now = FALSE;
g_return_if_fail (CALLS_IS_BEST_MATCH (self));
g_return_if_fail (phone_number);
have_country_code_now = !!self->country_code;