summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--stream.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/stream.c b/stream.c
index 18b13b3c..e19438d8 100644
--- a/stream.c
+++ b/stream.c
@@ -1268,9 +1268,7 @@ static void tail_strategy(val stream, unsigned long *state)
*/
if (!h->f) {
h->f = newf;
-#if CONFIG_STDIO_STRICT
h->last_op = stdio_none;
-#endif
(void) set_mode_props(m, stream);
break;
}
@@ -1307,9 +1305,7 @@ static void tail_strategy(val stream, unsigned long *state)
fseek(newf, save_pos, SEEK_SET);
fclose(h->f);
h->f = newf;
-#if CONFIG_STDIO_STRICT
h->last_op = stdio_none;
-#endif
(void) set_mode_props(m, stream);
return;
}
@@ -1764,9 +1760,7 @@ static val make_stdio_stream_common(FILE *f, val descr, struct cobj_ops *ops)
h->is_real_time = 0;
#endif
h->is_byte_oriented = 0;
-#if CONFIG_STDIO_STRICT
h->last_op = stdio_none;
-#endif
#if HAVE_SOCKETS
h->family = nil;
h->type = nil;