[tex-k] Unnecessary check in dvitype

Karl Berry karl at freefriends.org
Mon Jul 12 22:33:53 CEST 2021


Hi Lucas,

    [In dvitype module 36]

      @ @<Store character-width indices...@>=
      if wp>0 then for k:=width_ptr to wp-1 do

    the condition is unnecessary [...]

Agreed, but Knuth has consistently declined to make "cleanliness"
changes like this at this late date. Also, there are a number of other
cases of unnecessary loop protections.

DRF had some comments about how it may have come about, so I added an
entry at:
https://tug.org/texmfbug/nobug.html#dvitypecond

Thanks for the report nonetheless,
Karl


More information about the tex-k mailing list.