mirror of
https://github.com/celisej567/source-sdk-2013.git
synced 2026-09-17 20:10:21 +03:00
Fix uninitialized variable in math_clamp
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user