setup clang tidy (#19533)

* setup clang tidy

* config

* some cleanup

* little more

* remove that

* fix qcom build
old-commit-hash: 87950eb3127e175f0f2b0bb42440f5350c679369
This commit is contained in:
Adeeb Shihadeh
2021-01-05 12:50:23 -08:00
committed by GitHub
parent 4861ec6f81
commit d89bb8b29c
9 changed files with 47 additions and 27 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ std::string Params::get(std::string key, bool block){
size_t size;
int r;
if (block){
if (block) {
r = read_db_value_blocking((const char*)key.c_str(), &value, &size);
} else {
r = read_db_value((const char*)key.c_str(), &value, &size);