clang-tidy: run through performance checks
Found with performance* Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Luis Díaz Más
parent
b8712188bb
commit
f9d394adf0
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user