diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-12-01 22:33:47 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-12-01 22:33:47 +0200 |
commit | 4285d605b8c0cbe4e0b15724af1b4bd223f25403 (patch) | |
tree | 3df43024ff1f53d5f6b597a15a74f708593e06d7 /builtin.c | |
parent | 9eb357e008385176a44b695e6117f95b2ea104a7 (diff) | |
download | egawk-4285d605b8c0cbe4e0b15724af1b4bd223f25403.tar.gz egawk-4285d605b8c0cbe4e0b15724af1b4bd223f25403.tar.bz2 egawk-4285d605b8c0cbe4e0b15724af1b4bd223f25403.zip |
Don't use return in a call to a void function.
Diffstat (limited to 'builtin.c')
-rw-r--r-- | builtin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -132,11 +132,11 @@ efflush(FILE *fp, const char *from, struct redirect *rp) if (rp != NULL) { rp->output.gawk_fflush(fp, rp->output.opaque); if (rp->output.gawk_ferror(fp, rp->output.opaque)) - return wrerror(fp, from, rp); + wrerror(fp, from, rp); } else { fflush(fp); if (ferror(fp)) - return wrerror(fp, from, rp); + wrerror(fp, from, rp); } } |