From 2c31a5bc23cf5a092c0621bf34554ffb2b6ae2ec Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Tue, 8 Feb 2011 11:57:50 -0500 Subject: Bug 641756 - Fix warnings from GCC 4.6 GCC learned how to find dead assignments. --- addressbook/printing/e-contact-print.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'addressbook/printing/e-contact-print.c') diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c index 672db9ab41..d45c8c1f92 100644 --- a/addressbook/printing/e-contact-print.c +++ b/addressbook/printing/e-contact-print.c @@ -234,15 +234,10 @@ static gdouble e_contact_get_contact_height (EContact *contact, EContactPrintContext *ctxt) { - GtkPageSetup *setup; gchar *file_as; - gdouble page_height; gint field; gdouble cntct_height = 0.0; - setup = gtk_print_context_get_page_setup (ctxt->context); - page_height = gtk_page_setup_get_page_height (setup, GTK_UNIT_POINTS); - cntct_height += get_font_height (ctxt->style->headings_font) * .2; file_as = e_contact_get (contact, E_CONTACT_FILE_AS); -- cgit v1.2.3