summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-06 16:48:16 -0400
committerDavid Robillard <d@drobilla.net>2024-10-06 19:06:42 -0400
commit8448ed74a88312d5cf1ca7862aff8c2087c0ffbc (patch)
tree27063887bcce13f40e61b441440f85035d0b5220 /include
parent76d0f42479d8783f1ed7a5017e841754188d025f (diff)
downloadingen-8448ed74a88312d5cf1ca7862aff8c2087c0ffbc.tar.gz
ingen-8448ed74a88312d5cf1ca7862aff8c2087c0ffbc.tar.bz2
ingen-8448ed74a88312d5cf1ca7862aff8c2087c0ffbc.zip
Avoid using uninitialized va_list variables
Diffstat (limited to 'include')
-rw-r--r--include/ingen/Log.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ingen/Log.hpp b/include/ingen/Log.hpp
index 572e7b81..acbb4b6d 100644
--- a/include/ingen/Log.hpp
+++ b/include/ingen/Log.hpp
@@ -1,6 +1,6 @@
/*
This file is part of Ingen.
- Copyright 2007-2016 David Robillard <http://drobilla.net/>
+ Copyright 2007-2024 David Robillard <http://drobilla.net/>
Ingen is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
@@ -88,6 +88,7 @@ public:
}
int vtprintf(LV2_URID type, const char* fmt, va_list args);
+ int tprintf(LV2_URID type, const char* fmt, ...);
void set_flush(bool f) { _flush = f; }
void set_trace(bool f) { _trace = f; }