From 9eeb9297d576e1eb65a122a4a11e95c26c72a47d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 3 Jan 2007 23:09:12 +0000 Subject: [PATCH] Remove unneeded strlen. svn path=/trunk/; revision=5205 --- glib/goption.c | 1 - 1 file changed, 1 deletion(-) diff --git a/glib/goption.c b/glib/goption.c index e75e576af..5d08e3027 100644 --- a/glib/goption.c +++ b/glib/goption.c @@ -144,7 +144,6 @@ _g_utf8_strwidth (const gchar *p, glong len = 0; const gchar *start = p; g_return_val_if_fail (p != NULL || max == 0, 0); - max = strlen (p); if (max < 0) {