Avoid comparing size_t to be < 0 on AArch64.
cpu_features_entries is empty on AArch64 and causes tautological-compare warning when compiling with Clang. A=dskiba@google.com Original Review: https://codereview.chromium.org/1562223002/ BUG=chromium:539781 Review URL: https://codereview.chromium.org/1566893002 .
This commit is contained in:
parent
ee4d8ffed4
commit
8c49d62005
1 changed files with 2 additions and 2 deletions
|
@ -1093,8 +1093,8 @@ class MinidumpWriter {
|
|||
value_len = 0;
|
||||
}
|
||||
for (size_t i = 0;
|
||||
i < sizeof(cpu_features_entries)/
|
||||
sizeof(cpu_features_entries[0]);
|
||||
i != sizeof(cpu_features_entries) /
|
||||
sizeof(cpu_features_entries[0]);
|
||||
++i) {
|
||||
const CpuFeaturesEntry* entry = &cpu_features_entries[i];
|
||||
if (tag_len == strlen(entry->tag) &&
|
||||
|
|
Loading…
Reference in a new issue