From 3f7d46b17e636bac24a95edaf08656dd7f5a20a2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 29 Oct 2011 19:14:10 +1100 Subject: [PATCH] fixed uninitialised variable warning --- ArduPlane/commands_process.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/commands_process.pde b/ArduPlane/commands_process.pde index 5ef18b36b1..a5dcffcc82 100644 --- a/ArduPlane/commands_process.pde +++ b/ArduPlane/commands_process.pde @@ -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 // ---------------------------------