diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-04-03 02:15:47 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-04-03 02:15:47 +0000 |
commit | 109eeb2bfcd96bb88e90ce3e3be44407d1929d41 (patch) | |
tree | b0b19b7c097ccbfd1fc08e7f1e1612ac925f9fc3 | |
parent | bb883133ef22b38a8fd4194d217aa0f612635651 (diff) |
Coverity #38: Dead branch elimination.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | hw/dmx/glxProxy/glxcmds.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 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: Coverity #75: Dead variable elimination. diff --git a/hw/dmx/glxProxy/glxcmds.c b/hw/dmx/glxProxy/glxcmds.c index 8c466e13c..fe1d3571f 100644 --- a/hw/dmx/glxProxy/glxcmds.c +++ b/hw/dmx/glxProxy/glxcmds.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; |