summaryrefslogtreecommitdiff
path: root/env.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 /env.c
parent61e4c607d2e0514683a8b2a9e7667e85e2b53780 (diff)
compile cleanly with more warnings enabled
Diffstat (limited to 'env.c')
-rw-r--r--env.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/env.c b/env.c
index a90b8ea..86cef9b 100644
--- a/env.c
+++ b/env.c
@@ -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 = "*";
}