mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Include string.h, supress a warning.
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com> * glib/grand.c: Include string.h, supress a warning.
This commit is contained in:
parent
e3bb519fc2
commit
d51fc5b474
@ -1,3 +1,7 @@
|
|||||||
|
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/grand.c: Include string.h, supress a warning.
|
||||||
|
|
||||||
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib/grand.c (g_rand_int_range): Improve generation of
|
* glib/grand.c (g_rand_int_range): Improve generation of
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/grand.c: Include string.h, supress a warning.
|
||||||
|
|
||||||
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib/grand.c (g_rand_int_range): Improve generation of
|
* glib/grand.c (g_rand_int_range): Improve generation of
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/grand.c: Include string.h, supress a warning.
|
||||||
|
|
||||||
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib/grand.c (g_rand_int_range): Improve generation of
|
* glib/grand.c (g_rand_int_range): Improve generation of
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/grand.c: Include string.h, supress a warning.
|
||||||
|
|
||||||
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib/grand.c (g_rand_int_range): Improve generation of
|
* glib/grand.c (g_rand_int_range): Improve generation of
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/grand.c: Include string.h, supress a warning.
|
||||||
|
|
||||||
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib/grand.c (g_rand_int_range): Improve generation of
|
* glib/grand.c (g_rand_int_range): Improve generation of
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/grand.c: Include string.h, supress a warning.
|
||||||
|
|
||||||
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib/grand.c (g_rand_int_range): Improve generation of
|
* glib/grand.c (g_rand_int_range): Improve generation of
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
Wed Dec 11 11:11:44 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/grand.c: Include string.h, supress a warning.
|
||||||
|
|
||||||
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2002-12-10 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
* glib/grand.c (g_rand_int_range): Improve generation of
|
* glib/grand.c (g_rand_int_range): Improve generation of
|
||||||
|
@ -40,6 +40,7 @@
|
|||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "glib.h"
|
#include "glib.h"
|
||||||
|
|
||||||
@ -339,6 +340,7 @@ g_rand_int_range (GRand* rand, gint32 begin, gint32 end)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
random = 0; /* Quiet GCC */
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user