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:
Matthias Clasen 2004-01-15 21:33:58 +00:00 committed by Matthias Clasen
parent 72785faa51
commit 6c43e9ac9f
7 changed files with 54 additions and 3 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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)