From cd41beb4e5731255ad3450000f1f70bcaff35010 Mon Sep 17 00:00:00 2001 From: Nicola Fontana Date: Tue, 11 Aug 2009 11:47:21 +0200 Subject: [PATCH] [AdgDim] Initialize _org pairs in quote_layout() Added initialization at the beginning of the function to shut up GCC warnings. --- adg/adg-dim.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adg/adg-dim.c b/adg/adg-dim.c index c28d7179..12ba63d9 100644 --- a/adg/adg-dim.c +++ b/adg/adg-dim.c @@ -881,6 +881,9 @@ quote_layout(AdgDim *dim, cairo_t *cr) priv = dim->priv; dim_style = (AdgDimStyle *) adg_entity_get_style((AdgEntity *) dim, ADG_SLOT_DIM_STYLE); + tolerance_up_org.x = tolerance_up_org.y = 0; + tolerance_down_org.x = tolerance_down_org.y = 0; + note_org.x = note_org.y = 0; /* Compute the quote */ if (text_cache_update(&priv->quote_cache, priv->quote, cr, -- 2.11.4.GIT