summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-08-02 13:16:44 -0400
committerJakob Kaivo <jkk@ung.org>2019-08-02 13:16:44 -0400
commit94375bb322851a501f96814140916158120997d4 (patch)
tree18fd1aa53be38764f984e663f37e25c703b91999 /io.c
parent61e4c607d2e0514683a8b2a9e7667e85e2b53780 (diff)
compile cleanly with more warnings enabled
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/io.c b/io.c
index 8573a92..e173f74 100644
--- a/io.c
+++ b/io.c
@@ -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;