[pango/matthiasc/for-master] Remove leftover debug code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [pango/matthiasc/for-master] Remove leftover debug code
- Date: Sun, 23 Aug 2020 04:26:59 +0000 (UTC)
commit a65f80dc224ae198f54ad6bb22ef462a8a465131
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 22 21:17:58 2020 -0400
    Remove leftover debug code
    
    This #if snuck in as part of efa66e7b634050ef3.
    No need to keep it around.
 pango/pangofc-fontmap.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index 4c2aa094..eed0960a 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -1920,14 +1920,12 @@ pango_fc_fontset_cache (PangoFcFontset *fontset,
     {
       /* Add to cache initially
        */
-#if 1
       if (cache->length == FONTSET_CACHE_SIZE)
        {
          PangoFcFontset *tmp_fontset = g_queue_pop_tail (cache);
          tmp_fontset->cache_link = NULL;
          g_hash_table_remove (priv->fontset_hash, tmp_fontset->key);
        }
-#endif
 
       fontset->cache_link = g_list_prepend (NULL, fontset);
     }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]