dmx: Delete unused local variables.
Signed-off-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
3c3d099fc1
commit
c97a3ade5a
|
@ -101,7 +101,6 @@ void __glXDispSwap_Color3sv(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_Color3ubv(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
}
|
||||
|
||||
void __glXDispSwap_Color3uiv(GLbyte *pc)
|
||||
|
@ -120,7 +119,6 @@ void __glXDispSwap_Color3usv(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_Color4bv(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
}
|
||||
|
||||
void __glXDispSwap_Color4dv(GLbyte *pc)
|
||||
|
@ -163,7 +161,6 @@ void __glXDispSwap_Color4sv(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_Color4ubv(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
}
|
||||
|
||||
|
@ -185,16 +182,10 @@ void __glXDispSwap_Color4usv(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_EdgeFlagv(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_End(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_Indexdv(GLbyte *pc)
|
||||
|
@ -238,9 +229,6 @@ void __glXDispSwap_Indexsv(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_Normal3bv(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_Normal3dv(GLbyte *pc)
|
||||
|
@ -1203,9 +1191,6 @@ void __glXDispSwap_TexGeniv(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_InitNames(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_LoadName(GLbyte *pc)
|
||||
|
@ -1226,9 +1211,6 @@ void __glXDispSwap_PassThrough(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_PopName(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_PushName(GLbyte *pc)
|
||||
|
@ -1318,16 +1300,10 @@ void __glXDispSwap_StencilMask(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_ColorMask(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_DepthMask(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_IndexMask(GLbyte *pc)
|
||||
|
@ -1365,9 +1341,6 @@ void __glXDispSwap_Enable(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_PopAttrib(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_PushAttrib(GLbyte *pc)
|
||||
|
@ -1698,9 +1671,6 @@ void __glXDispSwap_Frustum(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_LoadIdentity(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_LoadMatrixf(GLbyte *pc)
|
||||
|
@ -1779,16 +1749,10 @@ void __glXDispSwap_Ortho(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_PopMatrix(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_PushMatrix(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_Rotated(GLbyte *pc)
|
||||
|
@ -1974,9 +1938,6 @@ void __glXDispSwap_PrioritizeTextures(GLbyte *pc)
|
|||
|
||||
void __glXDispSwap_Indexubv(GLbyte *pc)
|
||||
{
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void __glXDispSwap_BlendColor(GLbyte *pc)
|
||||
|
|
|
@ -3420,11 +3420,6 @@ int __glXChangeDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
|
|||
Display *dpy;
|
||||
int screen, rc;
|
||||
DMXScreenInfo *dmxScreen;
|
||||
char *attrbuf;
|
||||
#ifdef PANORAMIX
|
||||
PanoramiXRes *pXinDraw = NULL;
|
||||
PanoramiXRes *pXinReadDraw = NULL;
|
||||
#endif
|
||||
|
||||
if (drawId != None) {
|
||||
rc = dixLookupDrawable(&pDraw, drawId, client, 0, DixSetAttrAccess);
|
||||
|
@ -3491,7 +3486,7 @@ int __glXChangeDrawableAttributes(__GLXclientState *cl, GLbyte *pc)
|
|||
|
||||
#ifdef PANORAMIX
|
||||
if (!noPanoramiXExtension) {
|
||||
pXinDraw = (PanoramiXRes *)
|
||||
PanoramiXRes *pXinDraw = (PanoramiXRes *)
|
||||
SecurityLookupIDByClass(client, pDraw->id, XRC_DRAWABLE, DixReadAccess);
|
||||
if (!pXinDraw) {
|
||||
client->errorValue = drawId;
|
||||
|
|
|
@ -254,7 +254,6 @@ void __glXScreenInit(GLint numscreens)
|
|||
if (numscreens > 1) {
|
||||
for (s=1; s<numscreens; s++) {
|
||||
DMXScreenInfo *dmxScreen = &dmxScreens[s];
|
||||
__GLXscreenInfo *glxScreen = &__glXActiveScreens[s];
|
||||
|
||||
cfg = FindMatchingFBConfig( &dmxScreen0->fbconfigs[c],
|
||||
dmxScreen->fbconfigs,
|
||||
|
|
|
@ -750,7 +750,6 @@ int __glXDisp_ReadPixels(__GLXclientState *cl, GLbyte *pc)
|
|||
GLboolean swapBytes, lsbFirst;
|
||||
ClientPtr client = cl->client;
|
||||
DrawablePtr pDraw;
|
||||
int error;
|
||||
__GLXcontext *glxc;
|
||||
int from_screen = 0;
|
||||
int to_screen = 0;
|
||||
|
|
|
@ -358,7 +358,7 @@ void __glXDispSwap_SeparableFilter2D(GLbyte *pc)
|
|||
{
|
||||
__GLXdispatchConvolutionFilterHeader *hdr =
|
||||
(__GLXdispatchConvolutionFilterHeader *) pc;
|
||||
GLint hdrlen, image1len;
|
||||
GLint hdrlen;
|
||||
__GLX_DECLARE_SWAP_VARIABLES;
|
||||
|
||||
hdrlen = __GLX_PAD(__GLX_CONV_FILT_CMD_HDR_SIZE);
|
||||
|
|
|
@ -839,7 +839,6 @@ static void dmxInputScanForExtensions(DMXInputInfo *dmxInput, int doXI)
|
|||
Display *display;
|
||||
int num;
|
||||
int i, j;
|
||||
DMXLocalInputInfoPtr dmxLocal;
|
||||
int (*handler)(Display *, char *, char *);
|
||||
|
||||
if (!(display = XOpenDisplay(dmxInput->name))) return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user