mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-09 07:18:06 +02:00
_XimLocalCreateIC: get rid of bzero
This commit is contained in:
parent
59c9a89e25
commit
07978634b8
1 changed files with 2 additions and 3 deletions
|
|
@ -138,7 +138,7 @@ _XimLocalCreateIC(
|
|||
XIMArg *values)
|
||||
{
|
||||
Xic ic;
|
||||
XimDefICValues ic_values;
|
||||
XimDefICValues ic_values={ 0 };
|
||||
XIMResourceList res;
|
||||
unsigned int num;
|
||||
int len;
|
||||
|
|
@ -167,8 +167,7 @@ _XimLocalCreateIC(
|
|||
ic->private.local.ic_resources = res;
|
||||
ic->private.local.ic_num_resources = num;
|
||||
|
||||
bzero((char *)&ic_values, sizeof(XimDefICValues));
|
||||
if(_XimCheckLocalInputStyle(ic, (XPointer)&ic_values, values,
|
||||
if(_XimCheckLocalInputStyle(ic, (XPointer)&ic_values, values,
|
||||
im->core.styles, res, num) == False) {
|
||||
goto Set_Error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue