Fix Valgrind false-positive

Fixes #818.
master
Camilla Berglund ago%!(EXTRA string=9 years)
parent 3beb200c68
commit f48b63de38
  1. 2
      src/linux_joystick.c

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

Loading…
Cancel
Save