From f48b63de38ba72c6b63825c0ae2bb355d8716ec3 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 31 Jul 2016 17:54:13 +0200 Subject: [PATCH] Fix Valgrind false-positive Fixes #818. --- src/linux_joystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux_joystick.c b/src/linux_joystick.c index 0430e3f6..76a5f383 100644 --- a/src/linux_joystick.c +++ b/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;