mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-04-20 11:50:38 +02:00
GetProp: Zero-initialized error so its resourceID field is initialized
Using uninitialized value "error.resourceID" in call to function "_XError" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
85e9f38e01
commit
2b16a7e683
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ XGetWindowProperty(
|
|||
{
|
||||
xGetPropertyReply reply;
|
||||
register xGetPropertyReq *req;
|
||||
xError error;
|
||||
xError error = {0};
|
||||
|
||||
LockDisplay(dpy);
|
||||
GetReq (GetProperty, req);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue