From 21f39612a8f877c204c93540f0d9037047cc4da9 Mon Sep 17 00:00:00 2001 From: Vincent Herbet Date: Sat, 10 Aug 2013 12:26:32 +0200 Subject: [PATCH] Fix uninitialized variables. --- amxmodx/datastructs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amxmodx/datastructs.cpp b/amxmodx/datastructs.cpp index 71321bab..47630519 100644 --- a/amxmodx/datastructs.cpp +++ b/amxmodx/datastructs.cpp @@ -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);