Fix the warned code.