This also fixes a scan-build warning about a potential use of uninitialized parameter to the call of tmp0xx_read function