Fix -Wshadow warnings

This commit is contained in:
Nigel Tao committed 2021-11-05 17:51:22 +11:00
1 parent f148f5c5b3
commit f854646586
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -252,7 +252,7 @@ HandleMetadata(
}
}
for (uint64_t num_to_copy = r.length(); num_to_copy > 0;) {
while (true) {
uint64_t n =
wuffs_base__u64__min(num_to_copy, io_buf.reader_length());
memcpy(raw.m_buf.writer_pointer(), io_buf.reader_pointer(), n);
+1 -1
View File
@@ -40676,7 +40676,7 @@ HandleMetadata(
}
}
for (uint64_t num_to_copy = r.length(); num_to_copy > 0;) {
while (true) {
uint64_t n =
wuffs_base__u64__min(num_to_copy, io_buf.reader_length());
memcpy(raw.m_buf.writer_pointer(), io_buf.reader_pointer(), n);