From: Andre Noll Date: Tue, 1 Apr 2008 20:16:23 +0000 (+0200) Subject: stdin: Don't set sit->loaded. X-Git-Tag: v0.3.2~30 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=3b45609699cebbc20178b435f30adbab14d9e42a;p=paraslash.git stdin: Don't set sit->loaded. It's pointless because the only users of stdin allocate a static struct for the stdin task. --- diff --git a/stdin.c b/stdin.c index facbf473..b9b2e8bf 100644 --- a/stdin.c +++ b/stdin.c @@ -84,7 +84,6 @@ void stdin_set_defaults(struct stdin_task *sit) 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");