Skip to content

Commit

Permalink
avoid compiler warnings (closes #2083)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinushey committed Jan 29, 2025
1 parent 11ba89b commit 731463e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inst/ext/renv.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,10 @@ static SEXP recurse(SEXP object,
SEXP callback,
SEXP envir)
{
SEXP symbol, expr, frame = R_NilValue;
SEXP symbol = R_NilValue;
SEXP expr = R_NilValue;
SEXP frame = R_NilValue;

SEXP dots = Rf_findVarInFrame(envir, R_DotsSymbol);
if (TYPEOF(callback) == CLOSXP && dots == R_MissingArg)
{
Expand Down

0 comments on commit 731463e

Please sign in to comment.