Do not initialize variable if value is never read

This commit is contained in:
Lorenz Meier 2014-07-15 22:08:40 +02:00
parent e696ed5509
commit f02ddc3326
1 changed files with 2 additions and 1 deletions

View File

@ -867,7 +867,8 @@ HMC5883::collect()
struct {
int16_t x, y, z;
} report;
int ret = -EIO;
int ret;
uint8_t cmd;
uint8_t check_counter;