mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-16 23:15:44 +03:00
Really tell gcc to ignore return value of fscanf
This commit is contained in:
parent
3f5784a3f0
commit
a48ce9d103
@ -577,7 +577,7 @@ static void LinuxProcessList_readOpenVZData(LinuxProcess* process, const char* d
|
|||||||
FILE* file = fopen(filename, "r");
|
FILE* file = fopen(filename, "r");
|
||||||
if (!file)
|
if (!file)
|
||||||
return;
|
return;
|
||||||
(void) fscanf(file,
|
(void)! fscanf(file,
|
||||||
"%*32u %*32s %*1c %*32u %*32u %*32u %*32u %*32u %*32u %*32u "
|
"%*32u %*32s %*1c %*32u %*32u %*32u %*32u %*32u %*32u %*32u "
|
||||||
"%*32u %*32u %*32u %*32u %*32u %*32u %*32u %*32u "
|
"%*32u %*32u %*32u %*32u %*32u %*32u %*32u %*32u "
|
||||||
"%*32u %*32u %*32u %*32u %*32u %*32u %*32u %*32u "
|
"%*32u %*32u %*32u %*32u %*32u %*32u %*32u %*32u "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user