bool status =
cache->GetRegExp(new_pattern).Consume(consume_input.get(), group);
DCHECK(status);
+ IGNORE_UNUSED(status);
}
PhoneMetadata CreateEmptyMetadata() {
bool status = regexp_cache_.GetRegExp(pattern).GlobalReplace(
&formatted_number, number_format.format());
DCHECK(status);
+ IGNORE_UNUSED(status);
AppendNationalNumber(formatted_number, formatted_result);
return;
return ptr;
}
+#if !defined(IGNORE_UNUSED)
+#define IGNORE_UNUSED(X) (void)(X)
+#endif
+
#endif // I18N_PHONENUMBERS_BASE_LOGGING_H_
const PhoneNumberUtil::ErrorType status = phone_util.Parse(
"16502530000", "US", &number);
CHECK_EQ(status, PhoneNumberUtil::NO_PARSING_ERROR);
+ IGNORE_UNUSED(status);
const std::string description =
PhoneNumberOfflineGeocoder().GetDescriptionForNumber(