Commit 7d0497ca authored by Michael Cook's avatar Michael Cook

Fix a compiler warning

parent 79ba247f
...@@ -517,7 +517,8 @@ void logMinimal(int comp, int level, const char *format, ...) ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment