Declare variables before doing anything else in C code.
Don't put statements before variable declaration in C source file. This fixes compilation with non C99-compliant C compilers such as MSVC. See #14224. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7d2295a0ca
commit
982a0fcd28
@ -95,8 +95,8 @@ gpointer gtk_tree_entry_get_userdata (GtkTreeEntry* entry)
|
||||
|
||||
void gtk_tree_entry_set_label (GtkTreeEntry* entry, const gchar* label)
|
||||
{
|
||||
g_assert(GTK_IS_TREE_ENTRY(entry));
|
||||
gchar *temp;
|
||||
g_assert(GTK_IS_TREE_ENTRY(entry));
|
||||
|
||||
/* free previous if it exists */
|
||||
if(entry->label)
|
||||
|
Loading…
Reference in New Issue
Block a user