Fix Valgrind false-positive

Fixes #818.
This commit is contained in:
Camilla Berglund 2016-07-31 17:54:13 +02:00
parent 3beb200c68
commit f48b63de38

View File

@ -49,7 +49,7 @@
static GLFWbool openJoystickDevice(const char* path) static GLFWbool openJoystickDevice(const char* path)
{ {
char axisCount, buttonCount; char axisCount, buttonCount;
char name[256]; char name[256] = "";
int joy, fd, version; int joy, fd, version;
_GLFWjoystickLinux* js; _GLFWjoystickLinux* js;