Author: muggenhor Date: Tue Dec 11 00:15:46 2007 New Revision: 3037 URL: http://svn.gna.org/viewcvs/warzone?rev=3037&view=rev Log: * Get rid of a large quantity of unused parameters * Turn some signed integers ("int" or "SDWORD") into unsigned integers where it made more sence (and signed integers caused warnings about comparing signed with unsigned integers) * At some places cast to an unsigned integer (where the type of the expression is a signed integer but the result of it logically _always_ is an absolute value) * Remove unused struct-type EVENT_INIT * Convert use of malloc->memcpy->free to one single realloc call (and now make sure to actually check realloc's return value, which wasn't done with the malloc call)
Modified: trunk/lib/framework/frameresource.c trunk/lib/framework/frameresource.h trunk/lib/framework/strres.c trunk/lib/framework/treap.c trunk/lib/framework/treap.h trunk/lib/ivis_common/imd.c trunk/lib/ivis_common/imdload.c trunk/lib/ivis_common/ivisdef.h trunk/lib/ivis_common/piedef.h trunk/lib/ivis_common/pievector.h trunk/lib/ivis_opengl/piedraw.c trunk/lib/ivis_opengl/screen.c trunk/lib/ivis_opengl/textdraw.c trunk/lib/netplay/netplay.c trunk/lib/netplay/netplay.h trunk/lib/script/event.c trunk/lib/script/event.h trunk/lib/script/script.c trunk/lib/script/script.h trunk/po/da.po trunk/po/de.po trunk/po/la.po trunk/po/nb.po trunk/po/nl.po trunk/src/init.c trunk/src/levels.c trunk/src/multilimit.c trunk/src/multistat.c trunk/src/scripttabs.c _______________________________________________ Warzone-commits mailing list Warzone-commits@gna.org https://mail.gna.org/listinfo/warzone-commits