aboutsummaryrefslogtreecommitdiff
path: root/tools/EventClients
diff options
context:
space:
mode:
Diffstat (limited to 'tools/EventClients')
-rw-r--r--tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_nix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_nix.c b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_nix.c
index ec4e0e1780..0f2c5b8f55 100644
--- a/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_nix.c
+++ b/tools/EventClients/Clients/WiiRemote/wiiuse_v0.12/src/io_nix.c
@@ -171,6 +171,7 @@ int wiiuse_connect(struct wiimote_t** wm, int wiimotes) {
static int wiiuse_connect_single(struct wiimote_t* wm, char* address) {
struct sockaddr_l2 addr;
+ memset(&addr, 0, sizeof (addr));
if (!wm || WIIMOTE_IS_CONNECTED(wm))
return 0;