Initialize n_warnings_dropped to 0 in ScriptDebuggerRemote

This commit is contained in:
Marcus Brummer 2021-09-05 12:20:49 +02:00
parent ef1c509372
commit d3866d78f2

View File

@ -1197,6 +1197,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),