From: charles Date: Thu, 5 Mar 2009 21:46:46 +0000 (+0000) Subject: Remove bigus test X-Git-Tag: pre-name-change~217 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=61dc66b5b6109ad05d8c5705154f9acec9907518 Remove bigus test --- diff --git a/yaffs_guts.c b/yaffs_guts.c index a09328e..ea1ffc2 100644 --- a/yaffs_guts.c +++ b/yaffs_guts.c @@ -12,7 +12,7 @@ */ const char *yaffs_guts_c_version = - "$Id: yaffs_guts.c,v 1.79 2009-03-05 01:45:28 charles Exp $"; + "$Id: yaffs_guts.c,v 1.80 2009-03-05 21:46:46 charles Exp $"; #include "yportenv.h" @@ -6858,11 +6858,8 @@ static void yaffs_AddObjectToDirectory(yaffs_Object * directory, /* Not initialised */ YBUG(); - } else if (ylist_empty(&obj->siblings)) { - YBUG(); } - yaffs_VerifyDirectory(directory); yaffs_RemoveObjectFromDirectory(obj);