mirror of https://github.com/xzeldon/htop.git
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");
|
||||
if (!file)
|
||||
return;
|
||||
(void) fscanf(file,
|
||||
(void)! fscanf(file,
|
||||
"%*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 "
|
||||
|
|
Loading…
Reference in New Issue