clang-tidy: run through performance checks

Found with performance*

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-05-17 02:17:22 -07:00
committed by Luis Díaz Más
parent b8712188bb
commit f9d394adf0
13 changed files with 29 additions and 36 deletions
+1 -1
View File
@@ -670,7 +670,7 @@ bool sina(const char* s,const char** a)
return bResult;
}
int readFile(const char* path,Options /* options */)
int readFile(const char* path, const Options& /* options */)
{
FILE* f = fopen(path,"r");
int nResult = f ? typeFile : typeUnknown;