Revision: 18175
http://svn.sourceforge.net/gaim/?rev=18175&view=rev
Author: thekingant
Date: 2007-01-25 09:39:22 -0800 (Thu, 25 Jan 2007)
Log Message:
-----------
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 */
}
Modified Paths:
--------------
trunk/libgaim/protocols/oscar/misc.c
Modified: trunk/libgaim/protocols/oscar/misc.c
===================================================================
--- trunk/libgaim/protocols/oscar/misc.c 2007-01-25 08:27:28 UTC (rev 18174)
+++ trunk/libgaim/protocols/oscar/misc.c 2007-01-25 17:39:22 UTC (rev 18175)
@@ -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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|