diff options
author | Peter Wu <lekensteyn@gmail.com> | 2013-04-24 10:55:25 +0200 |
---|---|---|
committer | Peter Wu <lekensteyn@gmail.com> | 2013-04-24 10:55:25 +0200 |
commit | 6f4b439a5f4a003c9bca334bab3beaa01328064d (patch) | |
tree | ead5818f9c167789439aa3c2d0c2667db8f4799e /registers.txt | |
parent | abcf8c5ff87f1afb2bbed2c68ce84635b7fe8d13 (diff) | |
download | ltunify-6f4b439a5f4a003c9bca334bab3beaa01328064d.tar.gz |
Fix compiler warnings
The memcpy bug is actually a real one-by-off. Since the msg_long struct is
contained in a union of hidpp_message, this does not lead to
write-past-boundaries (but it may read more than intended).
Some fields of version could be uninitialised (when the register query failed).
Explicitly clear the values to make clang happy.
Diffstat (limited to 'registers.txt')
0 files changed, 0 insertions, 0 deletions