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/rds-ctl | |
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/rds-ctl')
-rw-r--r-- | utils/rds-ctl/rds-ctl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp index 2d561481..fef2a3f1 100644 --- a/utils/rds-ctl/rds-ctl.cpp +++ b/utils/rds-ctl/rds-ctl.cpp @@ -757,7 +757,7 @@ static int parse_cl(int argc, char **argv) if (long_options[i].has_arg == required_argument) short_options[idx++] = ':'; } - while (1) { + while (true) { int option_index = 0; short_options[idx] = 0; |