Fix uninitialized variables.
Former-commit-id: 21f39612a8f877c204c93540f0d9037047cc4da9
This commit is contained in:
parent
54cac3b051
commit
b5572520c2
@ -584,7 +584,7 @@ static cell AMX_NATIVE_CALL ArraySort(AMX* amx, cell* params)
|
|||||||
int SortArrayListExCell(const void *itema, const void *itemb)
|
int SortArrayListExCell(const void *itema, const void *itemb)
|
||||||
{
|
{
|
||||||
ArraySort_t *Info = ArraySortStack.front();
|
ArraySort_t *Info = ArraySortStack.front();
|
||||||
cell vala, valb;
|
cell vala = 0, valb = 0;
|
||||||
|
|
||||||
Info->vec->GetCell(*((int *)itema), &vala);
|
Info->vec->GetCell(*((int *)itema), &vala);
|
||||||
Info->vec->GetCell(*((int *)itemb), &valb);
|
Info->vec->GetCell(*((int *)itemb), &valb);
|
||||||
|
Loading…
Reference in New Issue
Block a user