aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-04-21 00:20:28 -0700
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-04-21 09:52:21 +0200
commit1b68151263278a1c92217307ed15b471416eb6ea (patch)
tree28939aeff2fdf5aadb81a2992598f2afc75683a0
parenta15dfa560f168cec14bbda84c94a0198d4139c28 (diff)
clang-tidy: use auto
Found with modernize-use-auto Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rw-r--r--utils/cec-ctl/cec-ctl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cec-ctl/cec-ctl.cpp b/utils/cec-ctl/cec-ctl.cpp
index 107dcfab..c17265a5 100644
--- a/utils/cec-ctl/cec-ctl.cpp
+++ b/utils/cec-ctl/cec-ctl.cpp
@@ -1833,7 +1833,7 @@ static __u16 parse_phys_addr_from_edid(const char *edid_path)
static void *thread_edid_poll(void *arg)
{
- struct node *node = static_cast<struct node *>(arg);
+ auto node = static_cast<struct node *>(arg);
__u16 phys_addr;
bool has_edid;
char dummy;

Privacy Policy