[Tux4kids-tuxtype-dev] [GSoC] New patches

Jerome Portal jerome.portal.2 at gmail.com
Tue Apr 16 13:06:39 UTC 2013


Here is a patch (
https://github.com/OjeromeO/tuxtype/commit/d817e082478ced5824bb1d98b85a722cb928d0f9)
that fixes several compilation warnings :

../../src/playgame.c:754:7: warning : variable ‘height’ set but not used
[-Wunused-but-set-variable]
  => unused, now deleted

../../src/editor.c:511:7: warning : variable ‘old_loc’ set but not used
[-Wunused-but-set-variable]
  => unused, now deleted

../../src/input_methods.c:419:0: warning : « MIN » redefined [enabled by
default]
  => unused and already defined in globals.h (already included in
input_methods.c), now deleted

../../src/laser.c:84:32: warning : variable ‘picked_comet’ set but not used
[-Wunused-but-set-variable]
  => unused, now deleted

../../src/loaders.c:122:5: warning : ‘max’ defined but not used
[-Wunused-function]
  => unused and equivalent to the MAX() macro, now deleted

../../src/SDL_extras.c:1367:7: warning : variable ‘i’ set but not used
[-Wunused-but-set-variable]
  => contains ConvertToUTF8() return value, now used to check this return
value



Also, I tried to make tuxtype crash, according to this bug description :
https://alioth.debian.org/pm/task.php?func=detailtask&project_task_id=450&group_id=31080&group_project_id=312
by uncommenting unload_media(), but it didn't. Was it resolved ?



Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/tux4kids-tuxtype-dev/attachments/20130416/0456eb28/attachment.html>


More information about the Tux4kids-tuxtype-dev mailing list