BSD joystick initialization fix for SDL 1.2

Hi,

upon initializing the FreeBSD joysticks, an uninitialized report
variable will be used for FreeBSD > 800063, causing a serious memory
corruption under various circumstances.
The attached patch fixes this.

Regards
Marcus
-------------- next part --------------
A non-text attachment was scrubbed…
Name: bsdjoystick.diff
Type: text/x-diff
Size: 563 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20100205/8f8bdb33/attachment.diff
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20100205/8f8bdb33/attachment.pgp

upon initializing the FreeBSD joysticks, an uninitialized report
variable will be used for FreeBSD > 800063, causing a serious memory
corruption under various circumstances.
The attached patch fixes this.

This patch is svn revision #5548 for the 1.2 branch, and #5549 for the
1.3 branch, thanks!

–ryan.