Bladeren bron

Initialize n_warnings_dropped to 0 in ScriptDebuggerRemote

(cherry picked from commit d3866d78f25cb00ab722e722bdf691ac4ecda338)
Marcus Brummer 4 jaren geleden
bovenliggende
commit
0d88a4fded
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      scene/debugger/script_debugger_remote.cpp

+ 1 - 0
scene/debugger/script_debugger_remote.cpp

@@ -1259,6 +1259,7 @@ ScriptDebuggerRemote::ScriptDebuggerRemote() :
 		max_errors_per_second(GLOBAL_GET("network/limits/debugger_stdout/max_errors_per_second")),
 		max_warnings_per_second(GLOBAL_GET("network/limits/debugger_stdout/max_warnings_per_second")),
 		n_errors_dropped(0),
+		n_warnings_dropped(0),
 		max_cps(GLOBAL_GET("network/limits/debugger_stdout/max_chars_per_second")),
 		char_count(0),
 		err_count(0),