projects
/
profile
/
ivi
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use memset instead of bzero
[profile/ivi/libxkbcommon.git]
/
src
/
xkbcomp
/
keymap.c
diff --git
a/src/xkbcomp/keymap.c
b/src/xkbcomp/keymap.c
index
0dd135d
..
7906b2b
100644
(file)
--- a/
src/xkbcomp/keymap.c
+++ b/
src/xkbcomp/keymap.c
@@
-56,7
+56,7
@@
CompileKeymap(XkbFile *file, struct xkb_desc * xkb, unsigned merge)
char *mainName;
LEDInfo *unbound = NULL;
-
bzero(sections
, MAX_SECTIONS * sizeof(XkbFile *));
+
memset(sections, 0
, MAX_SECTIONS * sizeof(XkbFile *));
mainType = file->type;
mainName = file->name;
switch (mainType)