Author: muggenhor
Date: Tue Oct 14 23:03:23 2008
New Revision: 6160
URL: http://svn.gna.org/viewcvs/warzone?rev=6160&view=rev
Log:
Cleanup:
* Mark several parameters that aren't being used (but shouldn't be removed)
with WZ_DECL_UNUSED
* Use "(unsigned )?int" instead of "[SU](D?WORD|BYTE)" where the size
guarantee is not required
* Instead of "(X - Y) >= 0" use the logically equivalent and more readable "X
>= Y"
* Remove redundant function prototypes
* Move variables into a more local scope where possible
* Assign the result of an expression to a variable once so that the expression
doesn't have to be duplicated several times
* Move constant UNALLOCATED_OBJECT out of the header and into the only source
file where it's ever used
Modified:
trunk/lib/script/evntsave.c
trunk/lib/sound/audio.c
trunk/src/multiint.c
trunk/src/scriptobj.c
trunk/src/scriptobj.h
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits