AP_Scripting: Cleanups to remove false posive warnings

This commit is contained in:
Michael du Breuil
2020-03-27 20:12:06 -07:00
committed by Andrew Tridgell
parent d50e9865bd
commit 75b133926f
3 changed files with 6 additions and 6 deletions

View File

@@ -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