mirror of https://github.com/ArduPilot/ardupilot
fixed uninitialised variable warning
This commit is contained in:
parent
c914b11504
commit
3f7d46b17e
|
@ -50,7 +50,7 @@ static void process_next_command()
|
|||
// and loads conditional or immediate commands if applicable
|
||||
|
||||
struct Location temp;
|
||||
byte old_index;
|
||||
byte old_index = 0;
|
||||
|
||||
// these are Navigation/Must commands
|
||||
// ---------------------------------
|
||||
|
|
Loading…
Reference in New Issue