Remove a bit of dead code
authorMatthias Clasen <mclasen@redhat.com>
Sat, 8 Oct 2011 16:42:06 +0000 (12:42 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 8 Oct 2011 23:02:06 +0000 (19:02 -0400)
glib/gmarkup.c

index a71d044..b0c28a9 100644 (file)
@@ -1041,9 +1041,6 @@ g_markup_parse_context_parse (GMarkupParseContext  *context,
   context->iter = context->current_text;
   context->start = context->iter;
 
-  if (context->current_text_len == 0)
-    goto finished;
-
   while (context->iter != context->current_text_end)
     {
       switch (context->state)