mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fix uninitialized variables.
This commit is contained in:
parent
25fe31aa34
commit
21f39612a8
@ -584,7 +584,7 @@ static cell AMX_NATIVE_CALL ArraySort(AMX* amx, cell* params)
|
||||
int SortArrayListExCell(const void *itema, const void *itemb)
|
||||
{
|
||||
ArraySort_t *Info = ArraySortStack.front();
|
||||
cell vala, valb;
|
||||
cell vala = 0, valb = 0;
|
||||
|
||||
Info->vec->GetCell(*((int *)itema), &vala);
|
||||
Info->vec->GetCell(*((int *)itemb), &valb);
|
||||
|
Loading…
Reference in New Issue
Block a user