# HG changeset patch # User michael # Date 1211938259 0 # Node ID 77ce2329f62068be82b7bb6ab1add9b20ad2d53f # Parent 224b51e2c96083a496e9cec849e3004cedbbe455 redundant diff -r 224b51e2c960 -r 77ce2329f620 dvbsubdec.c --- a/dvbsubdec.c Tue May 27 23:41:10 2008 +0000 +++ b/dvbsubdec.c Wed May 28 01:30:59 2008 +0000 @@ -289,7 +289,8 @@ obj2 = ctx->object_list; obj2_ptr = &ctx->object_list; - while (obj2 && obj2 != object) { + while (obj2 != object) { + assert(obj2); obj2_ptr = &obj2->next; obj2 = obj2->next; }