]> diplodocus.org Git - xorg-xinput/blobdiff - src/buttonmap.c
XSync the display before jumping in the grab code.
[xorg-xinput] / src / buttonmap.c
index c3dc406..7fed927 100644 (file)
@@ -69,7 +69,6 @@ get_button_map(Display        *display,
     if (device) {
        int             idx;
        unsigned char   *map;
-       int             min;
 
        map = (unsigned char *) malloc(sizeof(unsigned char) * nbuttons);