]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
stdin: Don't set sit->loaded.
authorAndre Noll <maan@systemlinux.org>
Tue, 1 Apr 2008 20:16:23 +0000 (22:16 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 1 Apr 2008 20:16:23 +0000 (22:16 +0200)
It's pointless because the only users of stdin allocate a
static struct for the stdin task.

stdin.c

diff --git a/stdin.c b/stdin.c
index facbf47395fae85b3396197118e6edf68a6cf90c..b9b2e8bfa6355684e3ea703de2e0ba6eee813153 100644 (file)
--- a/stdin.c
+++ b/stdin.c
@@ -84,7 +84,6 @@ void stdin_set_defaults(struct stdin_task *sit)
        int ret;
 
        sit->bufsize = 16 * 1024,
        int ret;
 
        sit->bufsize = 16 * 1024,
-       sit->loaded = 0,
        sit->task.pre_select = stdin_pre_select;
        sit->task.post_select = stdin_post_select;
        sprintf(sit->task.status, "stdin reader");
        sit->task.pre_select = stdin_pre_select;
        sit->task.post_select = stdin_post_select;
        sprintf(sit->task.status, "stdin reader");