mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
glx: fix dead code when gc var cannot be null due to earlier check
CID 1528170 (#1 of 1): Logically dead code (DEADCODE) At condition gc, the value of gc cannot be NULL. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: Illia Polishchuk <illia.a.polishchuk@globallogic.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20893>
This commit is contained in:
parent
c2724b4d37
commit
34e47b40e6
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config,
|
|||
cfg ? cfg->fbconfigID : 0,
|
||||
screen,
|
||||
share_xid,
|
||||
gc ? gc->isDirect : direct,
|
||||
gc->isDirect,
|
||||
num_attribs,
|
||||
(const uint32_t *)
|
||||
attrib_list);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue