diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-08-02 13:16:44 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-08-02 13:16:44 -0400 |
commit | 94375bb322851a501f96814140916158120997d4 (patch) | |
tree | 18fd1aa53be38764f984e663f37e25c703b91999 /io.c | |
parent | 61e4c607d2e0514683a8b2a9e7667e85e2b53780 (diff) |
compile cleanly with more warnings enabled
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -63,6 +63,7 @@ void ed_Edit(intmax_t start, intmax_t end, const char *arg) void ed_print(intmax_t start, intmax_t end, const char *arg) { + (void)start; (void)end; (void)arg; fputs(ed_state.current->text, stdout); } @@ -77,11 +78,13 @@ void ed_quit(intmax_t start, intmax_t end, const char *arg) void ed_Quit(intmax_t start, intmax_t end, const char *arg) { + (void)start; (void)end; (void)arg; exit(0); } void ed_read(intmax_t start, intmax_t end, const char *arg) { + (void)start; (void)end; intmax_t total = 0; FILE *f = NULL; @@ -133,6 +136,7 @@ void ed_read(intmax_t start, intmax_t end, const char *arg) void ed_write(intmax_t start, intmax_t end, const char *arg) { + (void)start; (void)end; intmax_t total = 0; FILE *f = NULL; |