summaryrefslogtreecommitdiff
path: root/android/PhoneNumberUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'android/PhoneNumberUtils.cpp')
-rw-r--r--android/PhoneNumberUtils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/PhoneNumberUtils.cpp b/android/PhoneNumberUtils.cpp
index cb8552e..47dd279 100644
--- a/android/PhoneNumberUtils.cpp
+++ b/android/PhoneNumberUtils.cpp
@@ -201,6 +201,8 @@ static int tryGetCountryCallingCode(const char *str, size_t len,
*new_len = len - (i + 1);
}
return 66;
+ } else {
+ return -1;
}
break;
default: