mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 13:13: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:
commit
3c0db7e3c3
@ -85,7 +85,7 @@ void SysPower::ScanDirectory( const char* path, int parent )
|
|||||||
FILE* f = fopen( tmp, "r" );
|
FILE* f = fopen( tmp, "r" );
|
||||||
if( f )
|
if( f )
|
||||||
{
|
{
|
||||||
fscanf( f, "%" PRIu64, &maxRange );
|
(void)fscanf( f, "%" PRIu64, &maxRange );
|
||||||
fclose( f );
|
fclose( f );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user