Presence of a nail in the medullary canal; is it enough to prevent femoral neck shortening in trochanteric fracture?

Presence of a nail in the medullary canal; is it enough to prevent femoral neck shortening in trochanteric fracture?