Fix trivial compiler warning
authorcolin <colin>
Fri, 21 Apr 2006 20:24:35 +0000 (20:24 +0000)
committercolin <colin>
Fri, 21 Apr 2006 20:24:35 +0000 (20:24 +0000)
direct/yaffsfs.c

index b39524719491d87469cdb198a0c6f0e40896690a..0ccb86f250bda1d97c2e2b437498e8528bd32628 100644 (file)
@@ -25,7 +25,7 @@
 #endif
 
 
 #endif
 
 
-const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.10 2006-03-08 07:59:20 charles Exp $";
+const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.11 2006-04-21 20:24:35 colin Exp $";
 
 // configurationList is the list of devices that are supported
 static yaffsfs_DeviceConfiguration *yaffsfs_configurationList;
 
 // configurationList is the list of devices that are supported
 static yaffsfs_DeviceConfiguration *yaffsfs_configurationList;
@@ -1411,7 +1411,7 @@ int yaffs_link(const char *oldpath, const char *newpath)
        // Creates a link called newpath to existing oldpath
        yaffs_Object *obj = NULL;
        yaffs_Object *target = NULL;
        // Creates a link called newpath to existing oldpath
        yaffs_Object *obj = NULL;
        yaffs_Object *target = NULL;
-       int retVal;
+       int retVal = 0;
 
                
        yaffsfs_Lock();
 
                
        yaffsfs_Lock();