Skip to content

Commit 7c217f8

Browse files
committed
remove unused function
1 parent cf93bdb commit 7c217f8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/utils.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -449,12 +449,3 @@ void internal_error(const char *call_name, const char *format, ...) {
449449

450450
error("%s %s: %s. %s", _("Internal error in"), call_name, buff, _("Please report to the data.table issues tracker."));
451451
}
452-
453-
SEXP setDT(SEXP x) {
454-
// used by gsumm.c to return a barebones DT (e.g. no names, not over-allocated) to gforce when n is a vector of shifts
455-
SEXP class;
456-
setAttrib(x, R_ClassSymbol, class=allocVector(STRSXP, 2));
457-
SET_STRING_ELT(class,0,char_datatable);
458-
SET_STRING_ELT(class,1,char_dataframe);
459-
return x;
460-
}

0 commit comments

Comments
 (0)