diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-04-20 11:46:48 -0700 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2020-04-21 10:53:53 +0200 |
commit | 08fc5f99998e324b8b851caa4f82d432e1463187 (patch) | |
tree | c5f7a68e248ef5c9e3789aa5798309a46df74b8a /utils/cec-ctl/cec-ctl.cpp | |
parent | 42fd55af695f0393a2f059d6accc08f38c6dd1d4 (diff) |
utils: use bool literals
Found with clang-tidy's modernize-use-bool-literals
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/cec-ctl/cec-ctl.cpp')
-rw-r--r-- | utils/cec-ctl/cec-ctl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cec-ctl/cec-ctl.cpp b/utils/cec-ctl/cec-ctl.cpp index 3495883e..2c3f4ae8 100644 --- a/utils/cec-ctl/cec-ctl.cpp +++ b/utils/cec-ctl/cec-ctl.cpp @@ -1863,7 +1863,7 @@ int main(int argc, char **argv) if (long_options[i].has_arg == required_argument) short_options[idx++] = ':'; } - while (1) { + while (true) { int option_index = 0; struct cec_msg msg; |