Remove unnecessary assertion (we've already handled the NULL case)

svn path=/trunk/netsurf/; revision=11265
This commit is contained in:
John Mark Bell 2011-01-09 13:02:03 +00:00
parent a145763c1d
commit 0818ae160e

View File

@ -286,8 +286,6 @@ bool nspng_convert(struct content *c)
c->size += (c->width * c->height * 4);
assert(c->data.png.bitmap != NULL);
c->bitmap = c->data.png.bitmap;
bitmap_set_opaque(c->bitmap, bitmap_test_opaque(c->bitmap));
bitmap_modified(c->bitmap);