diff --git a/glx/glxcmds.c b/glx/glxcmds.c index 37576b6ef..8bf180378 100644 --- a/glx/glxcmds.c +++ b/glx/glxcmds.c @@ -985,7 +985,6 @@ __glXDisp_GetVisualConfigs(__GLXclientState * cl, GLbyte * pc) /* Pad with zeroes, so that attributes count is constant. */ while (p < GLX_VIS_CONFIG_TOTAL) { buf[p++] = 0; - buf[p++] = 0; } assert(p == GLX_VIS_CONFIG_TOTAL);