Fix assertion to compare, and not assign
svn path=/trunk/netsurf/; revision=11045
This commit is contained in:
parent
650f884527
commit
d9f8b8949e
|
@ -1183,7 +1183,7 @@ nserror llcache_object_remove_user(llcache_object *object,
|
|||
llcache_object_user *user)
|
||||
{
|
||||
assert(object->users != NULL);
|
||||
assert(user->handle.object = object);
|
||||
assert(user->handle.object == object);
|
||||
assert((user->next != NULL) || (user->prev != NULL) ||
|
||||
(object->users == user));
|
||||
|
||||
|
|
Loading…
Reference in New Issue