Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Actually remove SET_TYPEOF
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Jun 30, 2024
1 parent facb366 commit 4eb3afa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/getOption.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ int R_get_option(const char *option, int def) {
SEXP s, t;
int ret, pro=0;
PROTECT(t = s = LCONS(R_NilValue, allocList(2)));pro++;
SET_TYPEOF(s, LANGSXP);
SETCAR(t, install("getOption")); t = CDR(t);
SETCAR(t, mkString(option)); t = CDR(t);
if (def){
Expand Down

0 comments on commit 4eb3afa

Please sign in to comment.