Initialize TMP to avoid confusion by static analysis.