changeset 4433:289efc79a242

[gaim-migrate @ 4708] minor cleanups committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 26 Jan 2003 22:17:56 +0000
parents 25c2119deab3
children 6b83a532eeb2
files src/prefs.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Sun Jan 26 22:04:30 2003 +0000
+++ b/src/prefs.c	Sun Jan 26 22:17:56 2003 +0000
@@ -2305,9 +2305,7 @@
 	}
 	va_end(ap);
 
-	if (menuitems == NULL) {
-		return;
-	}
+	g_return_val_if_fail(menuitems != NULL, NULL);
 
 	menuitems = g_list_reverse(menuitems);