Fix use of unitialised variable.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2981 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+1
-2
@@ -433,7 +433,6 @@ int
|
||||
loadIndices (uio_DirHandle *dir)
|
||||
{
|
||||
uio_DirList *indices;
|
||||
int i;
|
||||
|
||||
indices = uio_getDirList (dir, "", ".rmp$",
|
||||
match_MATCH_REGEX);
|
||||
@@ -451,7 +450,7 @@ loadIndices (uio_DirHandle *dir)
|
||||
uio_DirList_free (indices);
|
||||
|
||||
/* Return the number of index files loaded. */
|
||||
return i;
|
||||
return indices->numNames;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
|
||||
Reference in New Issue
Block a user