mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +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:
		
				
					committed by
					
						
						Sebastian Wilhelmi
					
				
			
			
				
	
			
			
			
						parent
						
							4d1cb41ef9
						
					
				
				
					commit
					fab90158aa
				
			@@ -1,5 +1,9 @@
 | 
			
		||||
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
 | 
			
		||||
	g_propagte_error to hand over local errors to the calling
 | 
			
		||||
	function.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,9 @@
 | 
			
		||||
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
 | 
			
		||||
	g_propagte_error to hand over local errors to the calling
 | 
			
		||||
	function.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,9 @@
 | 
			
		||||
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
 | 
			
		||||
	g_propagte_error to hand over local errors to the calling
 | 
			
		||||
	function.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,9 @@
 | 
			
		||||
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
 | 
			
		||||
	g_propagte_error to hand over local errors to the calling
 | 
			
		||||
	function.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,9 @@
 | 
			
		||||
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
 | 
			
		||||
	g_propagte_error to hand over local errors to the calling
 | 
			
		||||
	function.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,9 @@
 | 
			
		||||
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
 | 
			
		||||
	g_propagte_error to hand over local errors to the calling
 | 
			
		||||
	function.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,9 @@
 | 
			
		||||
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
 | 
			
		||||
	g_propagte_error to hand over local errors to the calling
 | 
			
		||||
	function.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,9 @@
 | 
			
		||||
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
 | 
			
		||||
	g_propagte_error to hand over local errors to the calling
 | 
			
		||||
	function.
 | 
			
		||||
 
 | 
			
		||||
@@ -257,7 +257,7 @@ g_string_free (GString *string,
 | 
			
		||||
{
 | 
			
		||||
  gchar *segment;
 | 
			
		||||
 | 
			
		||||
  g_return_if_fail (string != NULL);
 | 
			
		||||
  g_return_val_if_fail (string != NULL, NULL);
 | 
			
		||||
 | 
			
		||||
  if (free_segment)
 | 
			
		||||
    {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user