Skip to content

Commit 973a8d3

Browse files
committed
FIX: warning: 'N_access_os': not all control paths return value
1 parent 0427be4 commit 973a8d3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/n-io.c

+3
Original file line numberDiff line numberDiff line change
@@ -1170,4 +1170,7 @@ REBNATIVE(access_os)
11701170
Trap_Arg(val);
11711171
break;
11721172
}
1173+
// should not happen, but VS compiler wants to return value in all cases
1174+
SET_FALSE(D_RET);
1175+
return R_RET;
11731176
}

0 commit comments

Comments
 (0)