Avoid var declaration after statement.

2003-07-09  Morten Welinder  <terra@gnome.org>

	* glib/gprintf.c (g_vasprintf): Avoid var declaration after
	statement.
This commit is contained in:
Morten Welinder 2003-07-09 19:32:16 +00:00 committed by Morten Welinder
parent ddf64dc40f
commit 27b50b6d43
7 changed files with 37 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2003-07-09 Morten Welinder <terra@gnome.org>
* glib/gprintf.c (g_vasprintf): Avoid var declaration after
statement.
2003-07-09 Matthias Clasen <maclas@gmx.de> 2003-07-09 Matthias Clasen <maclas@gmx.de>
Support for one-time initialization functions. (#69668, Sebastian Wilhelmi) Support for one-time initialization functions. (#69668, Sebastian Wilhelmi)

View File

@ -1,3 +1,8 @@
2003-07-09 Morten Welinder <terra@gnome.org>
* glib/gprintf.c (g_vasprintf): Avoid var declaration after
statement.
2003-07-09 Matthias Clasen <maclas@gmx.de> 2003-07-09 Matthias Clasen <maclas@gmx.de>
Support for one-time initialization functions. (#69668, Sebastian Wilhelmi) Support for one-time initialization functions. (#69668, Sebastian Wilhelmi)

View File

@ -1,3 +1,8 @@
2003-07-09 Morten Welinder <terra@gnome.org>
* glib/gprintf.c (g_vasprintf): Avoid var declaration after
statement.
2003-07-09 Matthias Clasen <maclas@gmx.de> 2003-07-09 Matthias Clasen <maclas@gmx.de>
Support for one-time initialization functions. (#69668, Sebastian Wilhelmi) Support for one-time initialization functions. (#69668, Sebastian Wilhelmi)

View File

@ -1,3 +1,8 @@
2003-07-09 Morten Welinder <terra@gnome.org>
* glib/gprintf.c (g_vasprintf): Avoid var declaration after
statement.
2003-07-09 Matthias Clasen <maclas@gmx.de> 2003-07-09 Matthias Clasen <maclas@gmx.de>
Support for one-time initialization functions. (#69668, Sebastian Wilhelmi) Support for one-time initialization functions. (#69668, Sebastian Wilhelmi)

View File

@ -1,3 +1,8 @@
2003-07-09 Morten Welinder <terra@gnome.org>
* glib/gprintf.c (g_vasprintf): Avoid var declaration after
statement.
2003-07-09 Matthias Clasen <maclas@gmx.de> 2003-07-09 Matthias Clasen <maclas@gmx.de>
Support for one-time initialization functions. (#69668, Sebastian Wilhelmi) Support for one-time initialization functions. (#69668, Sebastian Wilhelmi)

View File

@ -1,3 +1,8 @@
2003-07-09 Morten Welinder <terra@gnome.org>
* glib/gprintf.c (g_vasprintf): Avoid var declaration after
statement.
2003-07-09 Matthias Clasen <maclas@gmx.de> 2003-07-09 Matthias Clasen <maclas@gmx.de>
Support for one-time initialization functions. (#69668, Sebastian Wilhelmi) Support for one-time initialization functions. (#69668, Sebastian Wilhelmi)

View File

@ -302,6 +302,7 @@ g_vasprintf (gchar **string,
*string = string1; *string = string1;
} }
#else #else
{
va_list args2; va_list args2;
G_VA_COPY (args2, args); G_VA_COPY (args2, args);
@ -310,6 +311,7 @@ g_vasprintf (gchar **string,
len = _g_vsprintf (*string, format, args2); len = _g_vsprintf (*string, format, args2);
va_end (args2); va_end (args2);
}
#endif #endif
return len; return len;