Commit f6ca2b3e authored by Adam Jackson's avatar Adam Jackson 💣

Coverity #38: Dead branch elimination.

parent 9b9dd747
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* hw/dmx/glxProxy/glxcmds.c:
Coverity #38: Dead branch elimination.
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* Xext/sync.c:
......
......@@ -3619,7 +3619,7 @@ int __glXSendLargeCommand(__GLXclientState *cl, GLXContextTag contextTag)
GetReq(GLXRenderLarge,req);
req->reqType = dmxScreen->glxMajorOpcode;
req->glxCode = X_GLXRenderLarge;
req->contextTag = (glxc ? GetCurrentBackEndTag(cl,contextTag,s) : 0);
req->contextTag = GetCurrentBackEndTag(cl,contextTag,s);
req->length += (amount + 3) >> 2;
req->requestNumber = requestNumber++;
req->requestTotal = totalRequests;
......
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