Skip to content

Commit 37145b0

Browse files
committed
FEAT: code reduction
1 parent 84ae960 commit 37145b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/os/posix/dev-stdio.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,8 @@ static void Close_StdIO_Local(void)
352352
REBYTE c[4];
353353
REBINT len;
354354

355-
evt.flags = 0;
355+
evt.flags = 1 << EVF_HAS_CODE;
356356
evt.model = EVM_CONSOLE;
357-
SET_FLAG(evt.flags, EVF_HAS_CODE);
358357

359358
while (poll(&poller, 1, 0) > 0) {
360359
if ( read(Std_Inp, &c, 1) > 0 ) {

0 commit comments

Comments
 (0)