Fix uninitialized variable in math_clamp

This commit is contained in:
Blixibon 2022-10-26 13:38:28 -05:00
parent 12742b7815
commit fd4133485a

View File

@ -4385,7 +4385,7 @@ void CMathClamp::ClampValue(variant_t var, inputdata_t *inputdata)
{
// Don't convert up here in case of invalid type
int nBounds;
int nBounds = 0;
switch (var.FieldType())
{