Initialize n_warnings_dropped to 0 in ScriptDebuggerRemote

(cherry picked from commit d3866d78f2)
This commit is contained in:
Marcus Brummer 2021-09-05 12:20:49 +02:00 committed by Rémi Verschelde
parent 165775e689
commit 0d88a4fded
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

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