ruledit: calloc with size 0
This is not only about ruledit. It happens with normal server too, but is easily lost to the verbose log level spam.
We have signals with zero parameters, and a function with zero returns, but the registration functions are not prepared for that.
All branches affected, including S2_6.
Separate version for S2_6 attached.
Starting (up to ruleset loading) ruledit with --debug verbose
4: Warning: calloc with size 0 at line 222 of ../../../../src/common/scriptcore/luascript_signal.c
4: Warning: calloc with size 0 at line 222 of ../../../../src/common/scriptcore/luascript_signal.c
4: Warning: calloc with size 0 at line 136 of ../../../../src/common/scriptcore/luascript_func.c