diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2013-08-22 21:52:11 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2013-08-22 21:52:11 +0300 |
commit | 84f6bcd255d10b593298e0408011e9f03d1ab18c (patch) | |
tree | 7e462b90d7aa12586bb17571dddb88344a4e007a /extension/revtwoway.c | |
parent | 844e16cea1ffe0e02b5b727fd8960271d1842020 (diff) | |
download | egawk-84f6bcd255d10b593298e0408011e9f03d1ab18c.tar.gz egawk-84f6bcd255d10b593298e0408011e9f03d1ab18c.tar.bz2 egawk-84f6bcd255d10b593298e0408011e9f03d1ab18c.zip |
Clean up some -Wextra compile warnings in extensions.
Diffstat (limited to 'extension/revtwoway.c')
-rw-r--r-- | extension/revtwoway.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extension/revtwoway.c b/extension/revtwoway.c index 6e5bb710..5f490825 100644 --- a/extension/revtwoway.c +++ b/extension/revtwoway.c @@ -141,6 +141,7 @@ rev2way_get_record(char **out, awk_input_buf_t *iobuf, int *errcode, * error occurs. */ + (void) errcode; /* silence warnings */ if (out == NULL || iobuf == NULL || iobuf->opaque == NULL) return EOF; @@ -195,6 +196,7 @@ rev2way_fwrite(const void *buf, size_t size, size_t count, FILE *fp, void *opaqu size_t amount, char_count; char *src, *dest; + (void) fp; /* silence warnings */ if (opaque == NULL) return 0; /* error */ @@ -281,6 +283,7 @@ revtwoway_take_control_of(const char *name, awk_input_buf_t *inbuf, awk_output_b { two_way_proc_data_t *proc_data; + (void) name; /* silence warnings */ if (inbuf == NULL || outbuf == NULL) return awk_false; |