Index: net/base/x509_cert_types_mac.cc |
diff --git a/net/base/x509_cert_types_mac.cc b/net/base/x509_cert_types_mac.cc |
index c672863200a23e4b7376b9bc054bd2ef4a8caec2..a45dc714242742de98b75647ea9be4a16d4440b8 100644 |
--- a/net/base/x509_cert_types_mac.cc |
+++ b/net/base/x509_cert_types_mac.cc |
@@ -150,7 +150,7 @@ void SetSingle(const std::vector<std::string>& values, |
std::string* single_value) { |
// We don't expect to have more than one CN, L, S, and C. |
LOG_IF(WARNING, values.size() > 1) << "Didn't expect multiple values"; |
- if (values.size() > 0) |
+ if (!values.empty()) |
*single_value = values[0]; |
} |