[glib] Remove a bit of dead code



commit d33f625444c28cd1c6313410d639360141dfd16b
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Oct 8 12:42:06 2011 -0400

    Remove a bit of dead code

 glib/gmarkup.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/glib/gmarkup.c b/glib/gmarkup.c
index a71d044..b0c28a9 100644
--- a/glib/gmarkup.c
+++ b/glib/gmarkup.c
@@ -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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]