gbranden pushed a commit to branch master
in repository groff.
commit 3fc4e0bac01f86430e53b1ad9de5806780709f45
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon May 25 02:38:52 2026 -0500
src/utils/tfmtodit/tfmtodit.cpp: Annotate.
...null pointers with `nullptr` comments to ease any future transition
to C++11, which defines it as a keyword.
---
src/utils/tfmtodit/tfmtodit.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/utils/tfmtodit/tfmtodit.cpp b/src/utils/tfmtodit/tfmtodit.cpp
index d4fbeea19..b6f139a98 100644
--- a/src/utils/tfmtodit/tfmtodit.cpp
+++ b/src/utils/tfmtodit/tfmtodit.cpp
@@ -177,8 +177,10 @@ int kern_iterator::next(unsigned char *c1, unsigned char
*c2, int *k)
}
tfm::tfm()
-: char_info(0), width(0), height(0), depth(0), italic(0), lig_kern(0),
- kern(0), param(0)
+: char_info(0 /* nullptr */), width(0 /* nullptr */),
+ height(0 /* nullptr */), depth(0 /* nullptr */),
+ italic(0 /* nullptr */), lig_kern(0 /* nullptr */),
+ kern(0 /* nullptr */), param(0 /* nullptr */)
{
}
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit