Coverity #38: Dead branch elimination.

This commit is contained in:
Adam Jackson 2006-04-03 02:15:55 +00:00
parent 9b9dd747d8
commit f6ca2b3ea9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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:

View File

@ -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;