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

Merge pull request #924 from fknorr/sys-power-fscanf-warning

Silence GCC fscanf warning in TracySysPower.cpp
This commit is contained in:
Bartosz Taudul 2024-11-13 11:30:25 +01:00 committed by GitHub
commit 3c0db7e3c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,7 @@ void SysPower::ScanDirectory( const char* path, int parent )
FILE* f = fopen( tmp, "r" );
if( f )
{
fscanf( f, "%" PRIu64, &maxRange );
(void)fscanf( f, "%" PRIu64, &maxRange );
fclose( f );
}
}