Commit d51fc5b4 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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.
parent e3bb519f
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>
* glib/grand.c (g_rand_int_range): Improve generation of
......
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>
* glib/grand.c (g_rand_int_range): Improve generation of
......
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>
* glib/grand.c (g_rand_int_range): Improve generation of
......
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>
* glib/grand.c (g_rand_int_range): Improve generation of
......
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>
* glib/grand.c (g_rand_int_range): Improve generation of
......
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>
* glib/grand.c (g_rand_int_range): Improve generation of
......
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>
* glib/grand.c (g_rand_int_range): Improve generation of
......
......@@ -40,6 +40,7 @@
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "glib.h"
......@@ -339,6 +340,7 @@ g_rand_int_range (GRand* rand, gint32 begin, gint32 end)
}
break;
default:
random = 0; /* Quiet GCC */
g_assert_not_reached ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment