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
+2 -1
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;