patched unused-result error

hopefully
This commit is contained in:
Václav Šmejkal 2022-12-06 18:22:58 +01:00
parent ee886f0237
commit 0cacbcf174
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -99,7 +99,7 @@ void writeLog(int loggerFile, char *logMessage)
sprintf(buffer, WRITE_FORMATTING, tm.tm_hour, tm.tm_min, tm.tm_sec, logMessage); //LOAD MESSAGE
write(loggerFile, buffer, strlen(buffer)); //WRITE (YAY)
(void) write(loggerFile, buffer, strlen(buffer));
//DEALLOCATION
free(buffer);