patched unused-result error
hopefully
This commit is contained in:
parent
ee886f0237
commit
0cacbcf174
@ -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
|
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
|
//DEALLOCATION
|
||||||
free(buffer);
|
free(buffer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user