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:
Vadim Zeitlin 2012-05-04 20:35:44 +00:00
parent 7d2295a0ca
commit 982a0fcd28

View File

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