summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2017-09-17 23:03:48 +0200
committerAlbert Astals Cid <aacid@kde.org>2017-09-17 23:04:20 +0200
commit6b82904b717994c887f33bfc72e4999363fc8e72 (patch)
tree73af597474d2568df84469f179bbcaec510004da /test
parentb26924e32128b7ba57260e9fdc54be1893bcff77 (diff)
Fix printf-like format warnings
Diffstat (limited to 'test')
-rw-r--r--test/perf-test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc
index 33a2eb49..bd455038 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -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;