mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
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:
parent
ddf64dc40f
commit
27b50b6d43
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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)
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user