Commit f2eff970 authored by Avinash Sonawane's avatar Avinash Sonawane Committed by Alexander Schwinn
Browse files

Initialize `modifier` at the time of declaration

parent 91adc9ba
Pipeline #10895 passed with stages
in 2 minutes and 47 seconds
......@@ -231,7 +231,7 @@ exo_strdup_strftime (const gchar *format,
gchar *piece;
gchar *result;
gchar *converted;
gchar modifier;
gchar modifier = 0;
gint i;
/* Format could be translated, and contain UTF-8 chars,
......@@ -292,7 +292,6 @@ exo_strdup_strftime (const gchar *format,
break;
}
modifier = 0;
if (strchr (SUS_EXTENDED_STRFTIME_MODIFIERS, *remainder) != NULL)
{
modifier = *remainder++;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment