]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: unexpand: remove dead store
authorDr. David Alan Gilbert <dave@treblig.org>
Fri, 30 Jan 2026 00:41:09 +0000 (00:41 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 6 Feb 2026 14:43:24 +0000 (14:43 +0000)
commiteaac58cffa24ce370d715f29d54e63ae89dd51cd
tree379ca392b0ea1180b46a5fbd56ad2b08ef9e0ac2
parent9240ef6700f4536f01ddef23ba4987f964caa873
maint: unexpand: remove dead store

The assign to next_tab_column in the backspace branch is never
read; in fact it's always written and then read solely inside the
blank branch.

Move the declaration of 'next_tab_column' down into the blank
branch, and remove its assignment in the backspace branch.

Spotted by the 'infer' static checker.

* src/unexpand.c (unexpand): Remove dead store of next_tab_column.
src/unexpand.c