From: colin Date: Fri, 21 Apr 2006 20:24:35 +0000 (+0000) Subject: Fix trivial compiler warning X-Git-Tag: pre-name-change~362 X-Git-Url: https://yaffs.net/gitweb/?a=commitdiff_plain;h=06781c4ca96ccdf097952eb97fe86b8db87b84b0;hp=20777ce296b2fb2de8b5490efccbbf3ff2a84067;p=yaffs2.git Fix trivial compiler warning --- diff --git a/direct/yaffsfs.c b/direct/yaffsfs.c index b395247..0ccb86f 100644 --- a/direct/yaffsfs.c +++ b/direct/yaffsfs.c @@ -25,7 +25,7 @@ #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; @@ -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; - int retVal; + int retVal = 0; yaffsfs_Lock();