forked from Archive/PX4-Autopilot
Do not initialize variable if value is never read
This commit is contained in:
parent
e696ed5509
commit
f02ddc3326
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue