]> Savannah Git Hosting - gnulib.git/commit
test-canonicalize: avoid an unused function warning
authorPádraig Brady <P@draigBrady.com>
Tue, 4 Feb 2020 00:57:12 +0000 (00:57 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 4 Feb 2020 19:09:24 +0000 (19:09 +0000)
commit203dda3b86d5c9ac5a661d61038c284370448ca8
tree02d14ac9b0796ef0e077985869d3bdcedeaa4789
parent378817e1eab8a84d11d93f7f887d05bf27f8538f
test-canonicalize: avoid an unused function warning

* tests/test-canonicalize.c: Protect the inclusion of null-ptr.h
with the same guard as that used to protect usage of the null_ptr
function, so that one doesn't get a -Wunused warning
about the function being defined but unused.
* tests/test-canonicalize-lgpl.c: Likewise.
ChangeLog
tests/test-canonicalize-lgpl.c
tests/test-canonicalize.c