| commit | ea252af53d4d8b668298bdaee2abdf756a136fec | [log] [tgz] |
|---|---|---|
| author | Joe Drago <jdrago@netflix.com> | Tue Feb 12 12:08:38 2019 -0800 |
| committer | Joe Drago <jdrago@netflix.com> | Tue Feb 12 12:08:38 2019 -0800 |
| tree | 3eb20fde0249ce35a2b0e65403256670bd80f9dd | |
| parent | ee563805c3b94c9d1bbec84b265abd8a66ef284a [diff] [blame] |
Fix all clang warnings
diff --git a/src/read.c b/src/read.c index 1a0ad89..0ca2015 100644 --- a/src/read.c +++ b/src/read.c
@@ -156,7 +156,7 @@ uint16_t itemCount; CHECK(avifStreamReadU16(&s, &itemCount)); // unsigned int(16) item_count; - for (int itemIndex = 0; itemIndex < itemCount; ++itemIndex) { + for (int i = 0; i < itemCount; ++i) { uint16_t itemID; // unsigned int(16) item_ID; CHECK(avifStreamReadU16(&s, &itemID)); // uint16_t dataReferenceIndex; // unsigned int(16) data_reference_index;