mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
g_date_time_format: drop an unused variable
This commit is contained in:
parent
ab2112a77b
commit
8d572f5d22
@ -2237,7 +2237,6 @@ g_date_time_format (GDateTime *datetime,
|
||||
GString *outstr;
|
||||
gchar *tmp;
|
||||
gunichar c;
|
||||
glong utf8len;
|
||||
gboolean in_mod;
|
||||
|
||||
g_return_val_if_fail (datetime != NULL, NULL);
|
||||
@ -2245,10 +2244,9 @@ g_date_time_format (GDateTime *datetime,
|
||||
g_return_val_if_fail (g_utf8_validate (format, -1, NULL), NULL);
|
||||
|
||||
outstr = g_string_sized_new (strlen (format) * 2);
|
||||
utf8len = g_utf8_strlen (format, -1);
|
||||
in_mod = FALSE;
|
||||
|
||||
for (; *format; format = g_utf8_next_char(format))
|
||||
for (; *format; format = g_utf8_next_char (format))
|
||||
{
|
||||
c = g_utf8_get_char (format);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user