Browse Source

Make GetRegionCodeForNumber() less verbose.

pull/612/merge
Andy Staudacher 11 years ago
parent
commit
5bee1e1ca7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      cpp/src/phonenumbers/phonenumberutil.cc

+ 3
- 3
cpp/src/phonenumbers/phonenumberutil.cc View File

@ -1581,9 +1581,9 @@ void PhoneNumberUtil::GetRegionCodeForNumber(const PhoneNumber& number,
if (region_codes.size() == 0) {
string number_string;
GetNationalSignificantNumber(number, &number_string);
LOG(WARNING) << "Missing/invalid country calling code ("
<< country_calling_code
<< ") for number " << number_string;
VLOG(1) << "Missing/invalid country calling code ("
<< country_calling_code
<< ") for number " << number_string;
*region_code = RegionCode::GetUnknown();
return;
}


Loading…
Cancel
Save