projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34316b5
)
Removing more Win64 build warnings from joystick code
author
John F. Fay
<johnffay@nettally.com>
Tue, 2 Oct 2007 02:46:04 +0000
(
02:46
+0000)
committer
John F. Fay
<johnffay@nettally.com>
Tue, 2 Oct 2007 02:46:04 +0000
(
02:46
+0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@733
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_joystick.c
patch
|
blob
|
history
diff --git
a/src/freeglut_joystick.c
b/src/freeglut_joystick.c
index
a978d7f
..
547c839
100644
(file)
--- a/
src/freeglut_joystick.c
+++ b/
src/freeglut_joystick.c
@@
-1039,7
+1039,7
@@
static int fghJoystickGetOEMProductName ( SFG_Joystick* joy, char *buf, int buf_
static void fghJoystickOpen( SFG_Joystick* joy )
{
- int i;
+ int i = 0;
#if TARGET_HOST_MACINTOSH
OSStatus err;
#endif
@@
-1061,7
+1061,7
@@
static void fghJoystickOpen( SFG_Joystick* joy )
unsigned char u;
# else
# if defined( __linux__ )
- int counter;
+ int counter = 0;
# endif
# endif
#endif