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 /env.c | |
parent | 61e4c607d2e0514683a8b2a9e7667e85e2b53780 (diff) |
compile cleanly with more warnings enabled
Diffstat (limited to 'env.c')
-rw-r--r-- | env.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -53,6 +53,7 @@ void ed_error(const char *fmt, ...) void ed_filename(intmax_t start, intmax_t end, const char *arg) { + (void)start; (void)end; if (ed_state.filename) { free(ed_state.filename); } @@ -62,6 +63,7 @@ void ed_filename(intmax_t start, intmax_t end, const char *arg) void ed_help(intmax_t start, intmax_t end, const char *arg) { + (void)start; (void)end; (void)arg; if (ed_state.help) { puts(ed_state.help); } @@ -77,6 +79,7 @@ void ed_help_mode(intmax_t start, intmax_t end, const char *arg) void ed_prompt(intmax_t start, intmax_t end, const char *arg) { + (void)start; (void)end; (void)arg; if (ed_state.prompt == NULL) { ed_state.prompt = "*"; } |