2007-08-03 Matthias Clasen <mclasen@redhat.com>
+ * glib/gregex.c: Fix a C99ism. (#462549, Kazuki IWAMOTO)
+
+2007-08-03 Matthias Clasen <mclasen@redhat.com>
+
* glib/gregex.c: Handle J changes in the pattern
correctly. (#444765, Yevgen Muntyan)
g_match_info_next (GMatchInfo *match_info,
GError **error)
{
+ gint opts;
+
g_return_val_if_fail (match_info != NULL, FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
g_return_val_if_fail (match_info->pos >= 0, FALSE);
- gint opts = match_info->regex->match_opts | match_info->match_opts;
+ opts = match_info->regex->match_opts | match_info->match_opts;
match_info->matches = pcre_exec (match_info->regex->pcre_re,
match_info->regex->extra,