mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Move initialization of variables after g_return_val_if_fail. (#131564,
Thu Jan 15 22:35:04 2004 Matthias Clasen <maclas@gmx.de> * glib/gstring.c (g_string_up): * glib/gstring.c (g_string_down): * glib/gstring.c (g_string_ascii_up): * glib/gstring.c (g_string_ascii_down): Move initialization of variables after g_return_val_if_fail. (#131564, Olivier Poncet)
This commit is contained in:
parent
72785faa51
commit
6c43e9ac9f
@ -1,3 +1,11 @@
|
||||
Thu Jan 15 22:35:04 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gstring.c (g_string_up):
|
||||
* glib/gstring.c (g_string_down):
|
||||
* glib/gstring.c (g_string_ascii_up):
|
||||
* glib/gstring.c (g_string_ascii_down): Move initialization of
|
||||
variables after g_return_val_if_fail. (#131564, Olivier Poncet)
|
||||
|
||||
Sun Jan 11 16:13:20 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu Jan 15 22:35:04 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gstring.c (g_string_up):
|
||||
* glib/gstring.c (g_string_down):
|
||||
* glib/gstring.c (g_string_ascii_up):
|
||||
* glib/gstring.c (g_string_ascii_down): Move initialization of
|
||||
variables after g_return_val_if_fail. (#131564, Olivier Poncet)
|
||||
|
||||
Sun Jan 11 16:13:20 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu Jan 15 22:35:04 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gstring.c (g_string_up):
|
||||
* glib/gstring.c (g_string_down):
|
||||
* glib/gstring.c (g_string_ascii_up):
|
||||
* glib/gstring.c (g_string_ascii_down): Move initialization of
|
||||
variables after g_return_val_if_fail. (#131564, Olivier Poncet)
|
||||
|
||||
Sun Jan 11 16:13:20 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu Jan 15 22:35:04 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gstring.c (g_string_up):
|
||||
* glib/gstring.c (g_string_down):
|
||||
* glib/gstring.c (g_string_ascii_up):
|
||||
* glib/gstring.c (g_string_ascii_down): Move initialization of
|
||||
variables after g_return_val_if_fail. (#131564, Olivier Poncet)
|
||||
|
||||
Sun Jan 11 16:13:20 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu Jan 15 22:35:04 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gstring.c (g_string_up):
|
||||
* glib/gstring.c (g_string_down):
|
||||
* glib/gstring.c (g_string_ascii_up):
|
||||
* glib/gstring.c (g_string_ascii_down): Move initialization of
|
||||
variables after g_return_val_if_fail. (#131564, Olivier Poncet)
|
||||
|
||||
Sun Jan 11 16:13:20 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu Jan 15 22:35:04 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* glib/gstring.c (g_string_up):
|
||||
* glib/gstring.c (g_string_down):
|
||||
* glib/gstring.c (g_string_ascii_up):
|
||||
* glib/gstring.c (g_string_ascii_down): Move initialization of
|
||||
variables after g_return_val_if_fail. (#131564, Olivier Poncet)
|
||||
|
||||
Sun Jan 11 16:13:20 2004 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* configure.in: Add G_MAXSIZE, define in terms of G_MAXUfoo.
|
||||
|
@ -702,10 +702,11 @@ GString*
|
||||
g_string_ascii_down (GString *string)
|
||||
{
|
||||
gchar *s;
|
||||
gint n = string->len;
|
||||
gint n;
|
||||
|
||||
g_return_val_if_fail (string != NULL, NULL);
|
||||
|
||||
n = string->len;
|
||||
s = string->str;
|
||||
|
||||
while (n)
|
||||
@ -764,10 +765,11 @@ GString*
|
||||
g_string_down (GString *string)
|
||||
{
|
||||
guchar *s;
|
||||
glong n = string->len;
|
||||
glong n;
|
||||
|
||||
g_return_val_if_fail (string != NULL, NULL);
|
||||
|
||||
n = string->len;
|
||||
s = (guchar *) string->str;
|
||||
|
||||
while (n)
|
||||
@ -797,10 +799,11 @@ GString*
|
||||
g_string_up (GString *string)
|
||||
{
|
||||
guchar *s;
|
||||
glong n = string->len;
|
||||
glong n;
|
||||
|
||||
g_return_val_if_fail (string != NULL, NULL);
|
||||
|
||||
n = string->len;
|
||||
s = (guchar *) string->str;
|
||||
|
||||
while (n)
|
||||
|
Loading…
Reference in New Issue
Block a user