Skip to content

Commit de5d118

Browse files
ben-schwenMichaelChirico
authored andcommitted
remove unused vars (#7578)
1 parent 1c05f11 commit de5d118

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/assign.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,9 @@ SEXP assign(SEXP dt, SEXP rows, SEXP cols, SEXP newcolnames, SEXP values)
362362
// cols : column names or numbers corresponding to the values to set
363363
// rows : row numbers to assign
364364
R_len_t numToDo, targetlen, vlen, oldncol, oldtncol, coln, protecti=0, newcolnum;
365-
SEXP targetcol, nullint, s, colnam, tmp, key, index, a, assignedNames;
365+
SEXP targetcol, nullint, colnam, tmp, key, index, assignedNames;
366366
bool verbose=GetVerbose();
367367
int ndelete=0; // how many columns are being deleted
368-
const char *c1, *tc1, *tc2;
369368
int *buf;
370369
if (isNull(dt)) error(_("assign has been passed a NULL dt"));
371370
if (TYPEOF(dt) != VECSXP) error(_("dt passed to assign isn't type VECSXP"));

src/dogroups.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ SEXP dogroups(SEXP dt, SEXP dtcols, SEXP groups, SEXP grpcols, SEXP jiscols, SEX
7878
{
7979
R_len_t ngrp, nrowgroups, njval=0, ngrpcols, ansloc=0, maxn, estn=-1, thisansloc, grpn, thislen, igrp;
8080
int nprotect=0;
81-
SEXP ans=NULL, jval, thiscol, BY, N, I, GRP, iSD, xSD, s, RHS, target, source;
81+
SEXP ans=NULL, jval, thiscol, BY, N, I, GRP, iSD, xSD, RHS, target, source;
8282
Rboolean wasvector, firstalloc=FALSE, NullWarnDone=FALSE;
8383
const bool verbose = LOGICAL(verboseArg)[0]==1;
8484
double tstart=0, tblock[10]={0}; int nblock[10]={0}; // For verbose printing, tstart is updated each block

0 commit comments

Comments
 (0)