Skip to content

Commit 9691739

Browse files
Also unreachable by known code paths
1 parent 70d26eb commit 9691739

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/mergelist.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ void mergeIndexAttrib(SEXP to, SEXP from) {
66
if (isNull(from))
77
return;
88
SEXP t = ATTRIB(to), f = ATTRIB(from);
9-
if (isNull(f)) // nothing to merge
10-
return;
119
if (isNull(t)) // target has no attributes -> overwrite
1210
SET_ATTRIB(to, shallow_duplicate(f));
1311
else {

0 commit comments

Comments
 (0)