mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +01:00
Use g_return_val_if_fail instead of g_return_if_fail, as the function now
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gstring.c (g_string_free): Use g_return_val_if_fail instead of g_return_if_fail, as the function now is supposed to return something.
This commit is contained in:
parent
4d1cb41ef9
commit
fab90158aa
@ -1,5 +1,9 @@
|
|||||||
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
|
||||||
|
g_return_if_fail, as the function now is supposed to return
|
||||||
|
something.
|
||||||
|
|
||||||
* gerror.c, gerror.h (g_propagte_error): Added function
|
* gerror.c, gerror.h (g_propagte_error): Added function
|
||||||
g_propagte_error to hand over local errors to the calling
|
g_propagte_error to hand over local errors to the calling
|
||||||
function.
|
function.
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
|
||||||
|
g_return_if_fail, as the function now is supposed to return
|
||||||
|
something.
|
||||||
|
|
||||||
* gerror.c, gerror.h (g_propagte_error): Added function
|
* gerror.c, gerror.h (g_propagte_error): Added function
|
||||||
g_propagte_error to hand over local errors to the calling
|
g_propagte_error to hand over local errors to the calling
|
||||||
function.
|
function.
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
|
||||||
|
g_return_if_fail, as the function now is supposed to return
|
||||||
|
something.
|
||||||
|
|
||||||
* gerror.c, gerror.h (g_propagte_error): Added function
|
* gerror.c, gerror.h (g_propagte_error): Added function
|
||||||
g_propagte_error to hand over local errors to the calling
|
g_propagte_error to hand over local errors to the calling
|
||||||
function.
|
function.
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
|
||||||
|
g_return_if_fail, as the function now is supposed to return
|
||||||
|
something.
|
||||||
|
|
||||||
* gerror.c, gerror.h (g_propagte_error): Added function
|
* gerror.c, gerror.h (g_propagte_error): Added function
|
||||||
g_propagte_error to hand over local errors to the calling
|
g_propagte_error to hand over local errors to the calling
|
||||||
function.
|
function.
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
|
||||||
|
g_return_if_fail, as the function now is supposed to return
|
||||||
|
something.
|
||||||
|
|
||||||
* gerror.c, gerror.h (g_propagte_error): Added function
|
* gerror.c, gerror.h (g_propagte_error): Added function
|
||||||
g_propagte_error to hand over local errors to the calling
|
g_propagte_error to hand over local errors to the calling
|
||||||
function.
|
function.
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
|
||||||
|
g_return_if_fail, as the function now is supposed to return
|
||||||
|
something.
|
||||||
|
|
||||||
* gerror.c, gerror.h (g_propagte_error): Added function
|
* gerror.c, gerror.h (g_propagte_error): Added function
|
||||||
g_propagte_error to hand over local errors to the calling
|
g_propagte_error to hand over local errors to the calling
|
||||||
function.
|
function.
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
|
||||||
|
g_return_if_fail, as the function now is supposed to return
|
||||||
|
something.
|
||||||
|
|
||||||
* gerror.c, gerror.h (g_propagte_error): Added function
|
* gerror.c, gerror.h (g_propagte_error): Added function
|
||||||
g_propagte_error to hand over local errors to the calling
|
g_propagte_error to hand over local errors to the calling
|
||||||
function.
|
function.
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
2000-09-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||||
|
|
||||||
|
* gstring.c (g_string_free): Use g_return_val_if_fail instead of
|
||||||
|
g_return_if_fail, as the function now is supposed to return
|
||||||
|
something.
|
||||||
|
|
||||||
* gerror.c, gerror.h (g_propagte_error): Added function
|
* gerror.c, gerror.h (g_propagte_error): Added function
|
||||||
g_propagte_error to hand over local errors to the calling
|
g_propagte_error to hand over local errors to the calling
|
||||||
function.
|
function.
|
||||||
|
@ -257,7 +257,7 @@ g_string_free (GString *string,
|
|||||||
{
|
{
|
||||||
gchar *segment;
|
gchar *segment;
|
||||||
|
|
||||||
g_return_if_fail (string != NULL);
|
g_return_val_if_fail (string != NULL, NULL);
|
||||||
|
|
||||||
if (free_segment)
|
if (free_segment)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user