Commit 6b82904b authored by Albert Astals Cid's avatar Albert Astals Cid

Fix printf-like format warnings

parent b26924e3
......@@ -284,7 +284,7 @@ public:
void put (char c) override;
void printf (const char *format, ...) override;
void printf (const char *format, ...) override GCC_PRINTF_FORMAT(2,3);
private:
FILE *f;
Goffset start;
......
......@@ -798,6 +798,8 @@ static void my_error(void *, ErrorCategory, Goffset pos, char *msg) {
#endif
}
static void LogInfo(const char *fmt, ...) GCC_PRINTF_FORMAT(1, 2);
static void LogInfo(const char *fmt, ...)
{
va_list args;
......
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