mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-13 15:27:56 +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
|
// Don't convert up here in case of invalid type
|
||||||
|
|
||||||
int nBounds;
|
int nBounds = 0;
|
||||||
|
|
||||||
switch (var.FieldType())
|
switch (var.FieldType())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user