commit a670ce3cb1ef98f9f3ea4fe92433d6477bbf3e08
parent 3f83a8777307cf21dc38204b68d2e9f909b1c887
Author: hhvn <dev@hhvn.uk>
Date: Fri, 12 Nov 2021 15:23:30 +0000
main.c: remove useless fd array
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/main.c b/main.c
@@ -208,9 +208,6 @@ main(int argc, char **argv) {
FILE *file;
int i, refreshed, inputrefreshed;
long pinginact, reconnectinterval, maxreconnectinterval;
- struct pollfd fds[] = {
- { .fd = fileno(stdin), .events = POLLIN },
- };
main_buf = emalloc(sizeof(struct HistInfo));
main_buf->activity = Activity_ignore;