client: fix uninitialized member

Fixes: #10414

Signed-off-by: John Spray <john.spray@redhat.com>