projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2a9b31
)
Remove unneeded strlen.
author
Behdad Esfahbod
<behdad@src.gnome.org>
Wed, 3 Jan 2007 23:09:12 +0000
(23:09 +0000)
committer
Behdad Esfahbod
<behdad@src.gnome.org>
Wed, 3 Jan 2007 23:09:12 +0000
(23:09 +0000)
svn path=/trunk/; revision=5205
glib/goption.c
patch
|
blob
|
history
diff --git
a/glib/goption.c
b/glib/goption.c
index
e75e576
..
5d08e30
100644
(file)
--- 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)
{