mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 12:20:35 +08:00
Do not initialize variable if value is never read
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user