summaryrefslogtreecommitdiff
path: root/lib/libXi/src/XIProperties.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXi/src/XIProperties.c')
-rw-r--r--lib/libXi/src/XIProperties.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libXi/src/XIProperties.c b/lib/libXi/src/XIProperties.c
index 045cc715f..0f77e5849 100644
--- a/lib/libXi/src/XIProperties.c
+++ b/lib/libXi/src/XIProperties.c
@@ -150,6 +150,7 @@ XIChangeProperty(Display* dpy, int deviceid, Atom property, Atom type,
default:
/* BadValue will be generated */ ;
+ len = 0;
}
/* we use data instead of Data32 and friends to avoid Xlib's braindead