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:
Meep-Eep
2008-05-19 21:34:49 +00:00
parent 23f3c84c79
commit 8b581600a6
+1 -2
View File
@@ -433,7 +433,6 @@ int
loadIndices (uio_DirHandle *dir) loadIndices (uio_DirHandle *dir)
{ {
uio_DirList *indices; uio_DirList *indices;
int i;
indices = uio_getDirList (dir, "", ".rmp$", indices = uio_getDirList (dir, "", ".rmp$",
match_MATCH_REGEX); match_MATCH_REGEX);
@@ -451,7 +450,7 @@ loadIndices (uio_DirHandle *dir)
uio_DirList_free (indices); uio_DirList_free (indices);
/* Return the number of index files loaded. */ /* Return the number of index files loaded. */
return i; return indices->numNames;
} }
BOOLEAN BOOLEAN