diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-09-13 09:41:10 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-09-24 11:30:52 +0200 |
commit | 5fe2ccbef9d7aecf5c4402c753444f1a12096cfd (patch) | |
tree | 7106dd603efbee982ab15ca1876ebb32041bf741 /virt | |
parent | HID: logitech: Use LDJ_DEVICE macro for existing Logitech mice (diff) | |
download | linux-5fe2ccbef9d7aecf5c4402c753444f1a12096cfd.tar.xz linux-5fe2ccbef9d7aecf5c4402c753444f1a12096cfd.zip |
HID: logitech: fix a used uninitialized GCC warning
Fix the following compile warning:
drivers/hid/hid-logitech-hidpp.c: In function 'hi_res_scroll_enable':
drivers/hid/hid-logitech-hidpp.c:2714:54: warning: 'multiplier' may be used uninitialized in this function [-Wmaybe-uninitialized]
hidpp->vertical_wheel_counter.resolution_multiplier = multiplier;
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions