1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Cosmetics.

This commit is contained in:
Bartosz Taudul 2020-06-24 01:14:55 +02:00
parent 493d433330
commit cf8620b956
2 changed files with 4 additions and 3 deletions

View File

@ -2692,7 +2692,8 @@ void Profiler::ReportTopology()
sprintf( path, "%s%i/topology/physical_package_id", basePath, i ); sprintf( path, "%s%i/topology/physical_package_id", basePath, i );
char buf[1024]; char buf[1024];
FILE* f = fopen( path, "rb" ); FILE* f = fopen( path, "rb" );
if( f == nullptr ) { if( !f )
{
tracy_free( cpuData ); tracy_free( cpuData );
return; return;
} }