# HG changeset patch
# User Mark Doliner <mark@kingant.net>
# Date 1169747145 0
# Node ID 12b1123f0cc981d8ff8be65d9015d4c9ebdb98bd
# Parent  24843d86c2a302cfa804dccbebd4daee01424410
Sun apparently doesn't like when void functions return
the return value from another void function.  For example:

void func1(void) {
	printf("hi");
}

void func2(void) {
	return func1(); /* this line causes a warning */
}

diff -r 24843d86c2a3 -r 12b1123f0cc9 libgaim/protocols/oscar/misc.c
--- a/libgaim/protocols/oscar/misc.c	Thu Jan 25 08:29:50 2007 +0000
+++ b/libgaim/protocols/oscar/misc.c	Thu Jan 25 17:45:45 2007 +0000
@@ -70,7 +70,10 @@
 	aim_snacid_t snacid;
 
 	if (!longdata)
-		return aim_genericreq_n(od, conn, family, subtype);
+	{
+		aim_genericreq_n(od, conn, family, subtype);
+		return;
+	}
 
 	frame = flap_frame_new(od, 0x02, 10+4);
 
@@ -89,7 +92,10 @@
 	aim_snacid_t snacid;
 
 	if (!shortdata)
-		return aim_genericreq_n(od, conn, family, subtype);
+	{
+		aim_genericreq_n(od, conn, family, subtype);
+		return;
+	}
 
 	frame = flap_frame_new(od, 0x02, 10+2);