diff options
author | Tim Janik <timj@gtk.org> | 2000-05-19 08:18:29 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2000-05-19 08:18:29 +0000 |
commit | 1e5d06d4ceb07ae8ddbd596cb69936fb3807a116 (patch) | |
tree | 9ecaa50c30294ca4ab11731714cad5828df49375 /tests | |
parent | 4b9a9eb8d3ea95b5e804fece07c32b0f15d13c94 (diff) | |
download | glib-1e5d06d4ceb07ae8ddbd596cb69936fb3807a116.tar.gz |
fixed SIZEOF_LONG==4 assumption with ENABLE_MEM_CHECK, from Art Haas
Fri May 19 09:00:44 2000 Tim Janik <timj@gtk.org>
* gmem.c (g_free): fixed SIZEOF_LONG==4 assumption with
ENABLE_MEM_CHECK, from Art Haas <ahaas@neosoft.com>.
* gslist.c (g_slist_reverse): shut up compiler.
* gscanner.c (g_scanner_get_token_ll): removed inline assignment.
* garray.c: remove index>=0 checks for unsigned indices.
* gmain.c (g_idle_prepare): timeout assignment fix.
* gtree.c (g_tree_node_rotate_right): shut up compiler.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testgdate.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/testgdate.c b/tests/testgdate.c index 25e8b152b..f74e00a3b 100644 --- a/tests/testgdate.c +++ b/tests/testgdate.c @@ -47,7 +47,6 @@ int main(int argc, char** argv) GDateDay day; gchar buf[101]; gchar* loc; - /* Try to get all the leap year cases. */ GDateYear check_years[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, @@ -63,11 +62,9 @@ int main(int argc, char** argv) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 3000, 3001, 3002, 3998, 3999, 4000, 4001, 4002, 4003 }; - guint n_check_years = sizeof(check_years)/sizeof(GDateYear); - - guint i = 0; - gboolean discontinuity = FALSE; + guint i; + gboolean discontinuity; g_print("checking GDate..."); |