The Holevo capacity of a generalized amplitude-damping channel is investigated by using a numerical method.It is shown that the Holevo capacity depends on the channel parameters representing the ambient temperature and fidelity. In particular, under a special condition, the Holevo capacity of the generalized amplitude-damping channel can be written as an analytical expression.