Fix assertion: user->next may be NULL, so there's no point asserting that it isn't

svn path=/trunk/netsurf/; revision=11046
This commit is contained in:
John Mark Bell 2010-12-13 08:12:31 +00:00
parent d9f8b8949e
commit 702c94bb30

View File

@ -1184,8 +1184,7 @@ nserror llcache_object_remove_user(llcache_object *object,
{
assert(object->users != NULL);
assert(user->handle.object == object);
assert((user->next != NULL) || (user->prev != NULL) ||
(object->users == user));
assert((user->prev != NULL) || (object->users == user));
if (user == object->users)
object->users = user->next;