commit | 94afa4bacfda2c86fdccdd2c1a8cbeae3f2129ed | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Mon Jun 20 13:36:43 2022 +0800 |
committer | George Liu <liuxiwei@inspur.com> | Tue Jun 21 12:47:47 2022 +0800 |
tree | 9ff2945203304b7a8372cd279179803119ff76b5 | |
parent | 5b98f4db0ed7c0d17023593a36dc9faf8377eb46 [diff] [blame] |
Fix cppcheck warnings Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I18be21d5141630a1da3d5e54740b54a9a06496d9
diff --git a/src/id_button.cpp b/src/id_button.cpp index 71e8539..99fd27f 100644 --- a/src/id_button.cpp +++ b/src/id_button.cpp
@@ -24,7 +24,8 @@ pressed(); } -void IDButton::handleEvent(sd_event_source* es, int fd, uint32_t revents) +void IDButton::handleEvent(sd_event_source* /* es */, int fd, + uint32_t /* revents */) { int n = -1; char buf = '0';