From 903d188a7beaa83d9055655275d5e8468718f150 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 8 Jan 2001 21:36:41 +0000 Subject: Removed an unused variable. (e_utf8_from_gtk_string_sized): Made ib const 2001-01-06 Christopher James Lahey * gal/widgets/e-unicode.c (e_utf8_xml1_decode): Removed an unused variable. (e_utf8_from_gtk_string_sized): Made ib const here. svn path=/trunk/; revision=7307 --- widgets/misc/e-unicode.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'widgets/misc') diff --git a/widgets/misc/e-unicode.c b/widgets/misc/e-unicode.c index 596bc0af1f..a74ec7527a 100644 --- a/widgets/misc/e-unicode.c +++ b/widgets/misc/e-unicode.c @@ -221,7 +221,8 @@ e_utf8_from_gtk_string_sized (GtkWidget *widget, const gchar *string, gint bytes xfs = GDK_FONT_XFONT (widget->style->font); if (widget->style->font->type == GDK_FONT_FONTSET || ((xfs->min_byte1 != 0) || (xfs->max_byte1 != 0))) { gint i; - guchar * ib, * ob, * new; + const guchar *ib; + guchar * ob, * new; /* iso-10646 */ ib = string; new = ob = g_new (unsigned char, bytes * 6 + 1); @@ -476,7 +477,7 @@ e_utf8_xml1_decode (const gchar *text) { const guchar *c; guchar *u, *d; - int len, s, e; + int len, s; g_return_val_if_fail (text != NULL, NULL); -- cgit