Really tell gcc to ignore return value of fscanf

This commit is contained in:
Christian Göttsche 2020-08-28 12:29:24 +02:00
parent 3f5784a3f0
commit a48ce9d103
1 changed files with 1 additions and 1 deletions

View File

@ -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 "