Menu

#444 The control sequences \pgf@nlt@infos and pgf@interrupt@nlt@infos are used but never defined

v1.0 (example)
closed-fixed
nobody
None
5
2018-12-29
2017-08-07
Evan Aad
No

There's a redundancy in the source code for the pgfinterruptpath environment. This redundancy does not amount to a bug at the present, but it opens the possibility for an insidious bug in the future. The redundancy can be removed easily.

The control sequences \pgf@nlt@infos and \pgf@interrupt@nlt@infos are only used in the macros \pgfinterruptpath and \endpgfinterruptpath, not anywhere else in the entire source code.

Moreover, the only way they are used is by \leting one to the other and vice versa:

\let\pgf@interrupt@nlt@infos=\pgf@nlt@infos

\global\let\pgf@nlt@infos=\pgf@interrupt@nlt@infos

For this reason, both control sequences are always undefined.

This redundancy can be fixed simply by deleting these two lines from the source code.

Discussion

  • Stefan Pinnow

    Stefan Pinnow - 2018-12-29
    • status: open --> closed-fixed
     
  • Stefan Pinnow

    Stefan Pinnow - 2018-12-29

    Good catch! Thank you for reporting. This is fixed now.