summaryrefslogtreecommitdiff
path: root/src/keymap-priv.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-03-29 16:23:28 +1000
committerRan Benita <ran@unusedvar.com>2021-03-30 01:34:33 +0300
commit20f7f80c236d63d5b6016fca838b2da19c220cd9 (patch)
tree62bb6a3ec804bab225ade6473897c21b55a18d9a /src/keymap-priv.c
parentcda2eaf1f5a021dd5d6876f233a1160f7dddd51c (diff)
downloadxorg-lib-libxkbcommon-20f7f80c236d63d5b6016fca838b2da19c220cd9.tar.gz
xkbcomp: use memcpy over strncpy to avoid analyzer warnings
The target buffer is 7 bytes long, null-termination is optional (as the comment already suggests). Coverity is unhappy about this though so let's use memset and memcpy instead. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/keymap-priv.c')
0 files changed, 0 insertions, 0 deletions