Commit 61926dbe authored by Adam Jackson's avatar Adam Jackson 💣

Coverity #271: Fix an unbelievably boneheaded NULL chase.

parent 7ef95da8
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* GL/glx/glxcmdsswap.c:
Coverity #271: Fix an unbelievably boneheaded NULL chase.
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* hw/xnest/Pixmap.c:
......
......@@ -345,7 +345,7 @@ int __glXSwapUseXFont(__GLXclientState *cl, GLbyte *pc)
int __glXSwapQueryExtensionsString(__GLXclientState *cl, GLbyte *pc)
{
xGLXQueryExtensionsStringReq *req = NULL;
xGLXQueryExtensionsStringReq *req = (xGLXQueryExtensionsStringReq *)pc;
__GLX_DECLARE_SWAP_VARIABLES;
__GLX_SWAP_SHORT(&req->length);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment