Author: muggenhor
Date: Wed Oct 15 00:02:35 2008
New Revision: 6161

URL: http://svn.gna.org/viewcvs/warzone?rev=6161&view=rev
Log:
Cleanup:
 * Remove several unused parameters
 * Fix several "comparison between signed and unsigned" warnings
 * Move variables into a more local scope where possible
 * Merge the conditions of some nested if-statements
 * Use an enum instead of some "magically defined" macros
 * Remove unused functions tooNearEdge and demoRequestStart
 * Mark function findSomethingInteresting as static
 * Use ARRAY_SIZE(array) instead of sizeof(array) / sizeof(array[0])
 * Get rid of some unnecessary casting from float to int
 * Mark several unused parameters with WZ_DECL_UNUSED for callback functions

Modified:
    trunk/src/component.c
    trunk/src/component.h
    trunk/src/console.c
    trunk/src/droid.c
    trunk/src/e3demo.c
    trunk/src/e3demo.h
    trunk/src/feature.c
    trunk/src/fpath.c
    trunk/src/frontend.c
    trunk/src/frontend.h
    trunk/src/hci.c
    trunk/src/ingameop.c
    trunk/src/intdisplay.c
    trunk/src/intelmap.c
    trunk/src/keybind.c
    trunk/src/keyedit.c
    trunk/src/loadsave.c
    trunk/src/mapdisplay.c
    trunk/src/mapgrid.c
    trunk/src/multiint.c
    trunk/src/multilimit.c


_______________________________________________
Warzone-commits mailing list
Warzone-commits@gna.org
https://mail.gna.org/listinfo/warzone-commits

Reply via email to