commit | 739f7998ab6c2383abbd8bbc7fad35e6bc3e7c43 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jun 06 22:16:09 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jun 06 22:16:09 2022 +0100 |
tree | c7f768e90a217ad6f98c35d24bf83dfb8c4e424f | |
parent | 016188fd8a30cfbaca3faa0daea9a47138dc5c4b [diff] |
patch 8.2.5065: wrong return type for main() in tee.c Problem: Wrong return type for main() in tee.c. Solution: Use "int" instead of "void". Remove unused variable.
diff --git a/src/tee/tee.c b/src/tee/tee.c index ba0e4ab..bed8bad 100644 --- a/src/tee/tee.c +++ b/src/tee/tee.c
@@ -78,12 +78,11 @@ } -void +int main(int argc, char *argv[]) { int append = 0; int numfiles; - int opt; int maxfiles; FILE **filepointers; int i;