Fix a compiler warning

This commit is contained in:
Michael Cook
2020-10-11 11:02:47 -04:00
parent 79ba247fe6
commit 7d0497ca80
+2 -1
View File
@@ -517,7 +517,8 @@ void logMinimal(int comp, int level, const char *format, ...)
buf[len++] = '\n'; buf[len++] = '\n';
} }
write(STDOUT_FILENO, buf, len); __attribute__((unused))
int unused = write(STDOUT_FILENO, buf, len);
} }
#endif // LOG_MINIMAL #endif // LOG_MINIMAL