Skip to content

Commit

Permalink
remove once-used local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Sep 27, 2024
1 parent e4e5b8a commit 6fb4e26
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/programming.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#include "data.table.h"

static void substitute_call_arg_names(SEXP expr, SEXP env) {
R_len_t len = length(expr);
if (!len || !isLanguage(expr))
if (!length(expr) || !isLanguage(expr))
return; // isLanguage is R's is.call
SEXP arg_names = getAttrib(expr, R_NamesSymbol);
if (!isNull(arg_names)) {
Expand Down

0 comments on commit 6fb4e26

Please sign in to comment.