]> Savannah Git Hosting - gnulib.git/commit
test-userspec.c: don't print NULL
authorJim Meyering <meyering@fb.com>
Sun, 10 Mar 2019 05:38:03 +0000 (21:38 -0800)
committerJim Meyering <meyering@fb.com>
Sun, 10 Mar 2019 05:38:03 +0000 (21:38 -0800)
commit81d0d262d83345d3f50b21b0926b740027a1020a
tree7e56ab1517a067caa6efafd9dc651cb72470a513
parent2ba60a9f14486037d73d97408843d11297726a7e
test-userspec.c: don't print NULL

* tests/test-userspec.c (main): A test release of gcc,
9.0.1 20190310, warned that this test would attempt to
print a NULL pointer via a %s printf format.  Fix that
and remove the unnecessary preceding "!diag" conjunct.
Also add a comment.
ChangeLog
tests/test-userspec.c