summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-06-03 01:07:40 (GMT)
committerRosen Penev <rosenp@gmail.com>2020-11-07 20:27:26 (GMT)
commit9fa3491284af9a595cd46c6b230bcffb0ab8aec9 (patch)
treee938030fcc49419fca00d145f65ff587f9a68b01 /.clang-tidy
parent17bcd4c8d69d3e5a0d11092938d30ac29aeb65e1 (diff)
downloadNinja-9fa3491284af9a595cd46c6b230bcffb0ab8aec9.zip
Ninja-9fa3491284af9a595cd46c6b230bcffb0ab8aec9.tar.gz
Ninja-9fa3491284af9a595cd46c6b230bcffb0ab8aec9.tar.bz2
[clang-tidy] remove pointless string init
Found with readability-redundant-string-init Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy2
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index 8968011..df4c1ed 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -3,9 +3,11 @@ Checks: '
,readability-avoid-const-params-in-decls,
,readability-non-const-parameter,
,readability-redundant-string-cstr,
+ ,readability-redundant-string-init,
'
WarningsAsErrors: '
,readability-avoid-const-params-in-decls,
,readability-non-const-parameter,
,readability-redundant-string-cstr,
+ ,readability-redundant-string-init,
'