Code

fix initialization
authorLennart Poettering <lennart@poettering.net>
Wed, 1 Mar 2006 15:25:00 +0000 (15:25 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 1 Mar 2006 15:25:00 +0000 (15:25 +0000)
git-svn-id: file:///home/lennart/svn/public/fusedav/trunk@17 e35a362c-bbd6-0310-a59f-a4efcb1729c4

src/filecache.c

index ac88b66227e84029c636210dcc7b153a468dff53..5f81f1453afadbc5918173f608b17d8f35e496e0 100644 (file)
@@ -156,7 +156,7 @@ int file_cache_close(void *f) {
 }
 
 void* file_cache_open(const char *path, int flags) {
-    struct file_info *fi;
+    struct file_info *fi = NULL;
     char tempfile[PATH_MAX];
     const char *length = NULL;
     ne_request *req = NULL;