Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-09-17 09:16:34 +0400
committerJoshua Leung <aligorith@gmail.com>2007-09-17 09:16:34 +0400
commit85a5b83b9bf5250d67e68b8927886446ce1c9a61 (patch)
treeb7cd19b6908a83846df4d84f0d6013322ced8b5e /source/blender/src/filelist.c
parenta36204e1b9e88ec32f739ecb730b45762c093199 (diff)
filelist.c - culled some compiler warnings.
Elubie, could you check to see if any of these cause problems?
Diffstat (limited to 'source/blender/src/filelist.c')
-rw-r--r--source/blender/src/filelist.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/src/filelist.c b/source/blender/src/filelist.c
index 95bce704d3c..fbf514ce02d 100644
--- a/source/blender/src/filelist.c
+++ b/source/blender/src/filelist.c
@@ -265,9 +265,7 @@ static int compare_extension(const void *a1, const void *a2) {
void BIF_filelist_filter(FileList* filelist)
{
- int num_files = 0;
int num_filtered = 0;
- struct direntry *old_filelist;
int i, j;
if (!filelist->filelist)
@@ -561,7 +559,7 @@ int BIF_filelist_find(struct FileList* filelist, char *file)
int fidx = -1;
if (!filelist->fidx)
- return;
+ return fidx;
for (i = 0; i < filelist->numfiles; ++i) {