tests/check_session.c: Fix compiler warning.