mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-02-08 01:42:15 +08:00
AP_Scripting: Cleanups to remove false posive warnings
This commit is contained in:
committed by
Andrew Tridgell
parent
d50e9865bd
commit
75b133926f
@@ -374,7 +374,9 @@ void lua_scripts::run(void) {
|
||||
load_all_scripts_in_dir(L, SCRIPTING_DIRECTORY);
|
||||
load_all_scripts_in_dir(L, "@ROMFS/scripts");
|
||||
|
||||
#ifndef __clang_analyzer__
|
||||
succeeded_initial_load = true;
|
||||
#endif // __clang_analyzer__
|
||||
|
||||
while (AP_Scripting::get_singleton()->enabled()) {
|
||||
// handle terminal data if we have any
|
||||
|
||||
Reference in New Issue
Block a user