Skip to content

Commit ee23077

Browse files
authored
remove unused vars (#7578)
1 parent 9029d79 commit ee23077

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

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 %s isn't type VECSXP"), "assign");

src/dogroups.c

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

0 commit comments

Comments
 (0)