Skip to content

Commit

Permalink
Remove variables no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
apnadkarni committed Jun 6, 2024
1 parent 44fcef4 commit 0d3a273
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions generic/threadSvListCmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ SvLsetFlat(
) {
Tcl_Size i, elemCount, index;
int result;
Tcl_Obj **elemPtrs, *subListPtr;
Tcl_Obj **elemPtrs;
Tcl_Obj *pendingInvalidates[10]; /* Assumed max nesting depth */
Tcl_Obj **pendingInvalidatesPtr = pendingInvalidates;
Tcl_Size numPendingInvalidates = 0;
Expand Down Expand Up @@ -1016,9 +1016,7 @@ SvLsetFlat(
break;
}


subListPtr = elemPtrs[index];
listPtr = subListPtr;
listPtr = elemPtrs[index];
}

/*
Expand All @@ -1041,8 +1039,6 @@ SvLsetFlat(
* representations of all ancestors of the modified sublist.
*/
while (numPendingInvalidates > 0) {
Tcl_Obj *objPtr;

--numPendingInvalidates;
Tcl_InvalidateStringRep(pendingInvalidatesPtr[numPendingInvalidates]);
}
Expand Down

0 comments on commit 0d3a273

Please sign in to comment.