mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 04:23:51 +00:00
Cosmetics.
This commit is contained in:
parent
493d433330
commit
cf8620b956
@ -2692,7 +2692,8 @@ void Profiler::ReportTopology()
|
||||
sprintf( path, "%s%i/topology/physical_package_id", basePath, i );
|
||||
char buf[1024];
|
||||
FILE* f = fopen( path, "rb" );
|
||||
if( f == nullptr ) {
|
||||
if( !f )
|
||||
{
|
||||
tracy_free( cpuData );
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user