mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Push "int i" into "for (int i = etc; etc; etc)"
This commit is contained in:
1 parent
16b51dd2a4
commit
d5075c7e94
23 files changed
+229
-370
No files matched your search
@@ -1460,8 +1460,7 @@ main(int argc, char** argv) {
|
||||
// Flags start with "-", unless it comes after a bare "--" arg.
|
||||
{
|
||||
bool dash_dash = false;
|
||||
int a;
|
||||
for (a = 1; a < argc; a++) {
|
||||
for (int a = 1; a < argc; a++) {
|
||||
char* arg = argv[a];
|
||||
if ((arg[0] == '-') && !dash_dash) {
|
||||
dash_dash = (arg[1] == '-') && (arg[2] == '\x00');
|
||||
|
||||
Reference in new issue
Block a user