tests: avoid some compiler warnings * tests/test-memchr.c (main): Pass NULL indirectly. * tests/test-getdate.c (main): Remove unused variable 'ret'. Signed-off-by: Simon Josefsson <simon@josefsson.org>