On charged black holes in anti-de Sitter space