summaryrefslogtreecommitdiff
path: root/gtree.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-05-13 19:30:58 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-05-13 19:30:58 +0000
commit77866eaf9bff4e40223e326e99c40d0077a935b5 (patch)
treed8c774d845d50086c532770756c9fb317b2d9790 /gtree.c
parentc74c6c91a6e0424d00ac0b71992555ce4f461117 (diff)
makefile.mingw.in tests/makefile.mingw.in Rename makefile.cygwin(.in) to
2000-05-13 Tor Lillqvist <tml@iki.fi> * makefile.mingw.in * tests/makefile.mingw.in * build-dll: Rename makefile.cygwin(.in) to makefile.mingw(.in), which better describes what it is. Move the build of gmodule, gthread and gobject DLLs to makefiles in those directories. Move resource file handling and build number bump to build-dll, where it sits much cleaner. * README.win32 * Makefile.am (EXTRA_DIST): Update accordingly. * glib.h: Add G_PI, G_PI_2, G_PI_4, G_E, G_LN2, G_LN10 and G_SQRT2. M_PI etc aren't necessarily in <math.h> in strict ISO C implementations. * glib.def: Add g_strcanon. * gtree.c (g_tree_node_rotate_left): Remove unused variables. * gwin32.c (g_win32_opendir): Remove unneeded statement. gmodule: * makefile.mingw.in: New file, with gmodule stuff moved from ../makefile.mingw.in. * Makefile.am: Add to EXTRA_DIST, and add rule to make makefile.mingw. gobject: * makefile.mingw.in * gobject.def * gobject.rc.in: New files, for Win32 (mingw) build. * Makefile.am: Add to EXTRA_DIST. Add rules to produce the corresponding non-*.in files. * gtype.h: (Win32:) Mark _g_type_fundamental_last for export/import from DLL. gthread: * makefile.mingw.in: New file, with gthread stuff moved from ../makefile.mingw.in. * Makefile.am: Add to EXTRA_DIST, add rule to build makefile.mingw.
Diffstat (limited to 'gtree.c')
-rw-r--r--gtree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtree.c b/gtree.c
index 1f29951b0..fa40b77e2 100644
--- a/gtree.c
+++ b/gtree.c
@@ -657,12 +657,10 @@ g_tree_node_height (GTreeNode *node)
static GTreeNode*
g_tree_node_rotate_left (GTreeNode *node)
{
- GTreeNode *left;
GTreeNode *right;
gint a_bal;
gint b_bal;
- left = node->left;
right = node->right;
node->right = right->left;