aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-03 15:14:24 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-03 15:14:24 -0500
commit00e7ce2bd089ed8180d8e819b8260a3ba9eb13f1 (patch)
treeab62ff7dbbe5f2b9b0b43c5ee068aef2567d8bd1
parentea7fcd85b40dd943e593d823827be7cdf4a972b0 (diff)
Remove dup output
-rw-r--r--tomo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tomo.c b/tomo.c
index faf83f58..914d54db 100644
--- a/tomo.c
+++ b/tomo.c
@@ -140,7 +140,6 @@ int main(int argc, char *argv[])
prog = popen(heap_strf("%s -x c %s -E - | %s > %s.c", cc, cflags, autofmt, f->filename), "w");
CORD_put(CORD_all("#include \"", f->filename, ".h\"\n\n", module.c_file), prog);
- CORD_put(module.c_file, prog);
status = pclose(prog);
if (WIFEXITED(status) && WEXITSTATUS(status) == 0)
printf("Transpiled to %s.c\n", f->filename);