mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Fix C for loop initializer style nit.
This commit is contained in:
1 parent
6fde16afd5
commit
11f4cfeb49
1 file changed
+2
-2
@@ -223,8 +223,8 @@ bool buf1s_equal(const char* prefix,
|
||||
return false;
|
||||
}
|
||||
char* msg = fail_msg;
|
||||
size_t i = 0;
|
||||
for (; (i < got->wi) && (i < want->wi); i++) {
|
||||
size_t i;
|
||||
for (i = 0; (i < got->wi) && (i < want->wi); i++) {
|
||||
if (got->ptr[i] != want->ptr[i]) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user