mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-25 06:15:30 +03:00
Fix uninitialized variable in math_clamp
This commit is contained in:
parent
12742b7815
commit
fd4133485a
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user