summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2024-04-20 17:01:55 -0700
committerMatthew Sotoudeh <matthew@masot.net>2024-04-20 17:01:55 -0700
commit3d808effbdb543c92db815a112c786b44c8a9e12 (patch)
tree9ac8e9f5a7003c83fa2687eadcf367f3177782e8
parent3b2c111d0250a341c5bfd4faa9ba1e84dd1f6321 (diff)
fix small bug
-rw-r--r--gamma_version/fakeobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gamma_version/fakeobj.c b/gamma_version/fakeobj.c
index cc23d7c..544ada1 100644
--- a/gamma_version/fakeobj.c
+++ b/gamma_version/fakeobj.c
@@ -57,7 +57,7 @@ void write_fakeobj(char *src, char *dst, int i) {
if (str_ends_with(ARGV[j], ".c")) continue;
if (str_ends_with(ARGV[j], ".o")) continue;
if (str_ends_with(ARGV[j], ".a")) continue;
- if (!strcmp(ARGV[j], "-c")) { j++; continue; }
+ if (!strcmp(ARGV[j], "-c")) continue;
if (!strcmp(ARGV[j], "-o")) { j++; continue; }
new_argv[new_argc++] = ARGV[j];
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback